Talk:Convert color to/from HTML

From Free Pascal wiki
Jump to navigationJump to search

Bart, i used another code. from LCL. LCL has a func to make triple rgb.

About nice names: not needded here, pls use another func to make nice names. My code needs ok #rrggbb- when reading it cannot convert "red" "blue"... Alextp

It's not very nice to remove my comments from "Discussion page". " My code needs ok #rrggbb": but you raise the expectation that your code just makes valid html color constants (and "blue" etc are valid specifiers for that) (The code comes form a HTML editor of mine). Your new code looks fine b.t.w. Bart 2015-09-22 16:50 CET
Bart, sorry, nice names must be param "AUseNiceNames:bool" if you want to use my func Alextp
No need to add that to your code (or the page). I just copy-pasted my code for the Endian issue. Nice names is just that. anyone who needs/wants that can easlily come up with a solution for it. Bart 2015-09-27 13:42 CET.