A proc like rgb() except it would influence the luminosity, hue and saturation of a color(decrease or increase the values), thus allowing the user to create a "palette of color" from a single RGB color value.
ID:624164
Apr 3 2012, 12:48 pm
|
|||||||
Redundant
| |||||||
Apr 4 2012, 6:00 am
|
|
The IconProcs library already includes useful routines for converting between RGB, HSV, and lists (for direct numerical access). You can convert an RGB color to a list of HSV with ReadHSV(RGBtoHSV(color)), and convert any list of hue, saturation, and value back to RGB via HSVtoRGB(hsv(list)).
|
The Icon Processor library makes it easy to implement just about any icon operation you can think of: http://www.byond.com/developer/Forum_account/IconProcessor
|