Phobos colour module?
Xavier Bigand via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 7 12:58:01 PST 2015
I think it can be interesting to provide some string formats can be
directly converted into color structures.
For example :
- plain color names : "red", "blue", "light gray",...
- hexadecimal : "#FF3CBB", "#FF3CBBAA" (same with alpha)
- decimal : "255, 158, 200", "255, 158, 200, 170"
...
I think to that cause I saw many times tools using pretty close syntax
for color definitions but with boring variations (generally for the
alpha position).
More information about the Digitalmars-d
mailing list