Contains functions for conversion of color to string and vice versa: method toClr( string this ) - converts string reperesentation of color (in hex format) to color method toHex( color this ) - converts color to string (hex form) method toRgb( color this ) - converts color to string ("rgb(11,11,11,0)" form) Thanks to @ImmortalFreedom for his ...
Utility for working with colors. Get the luminosity of a color and determine the optimal (black or white) foreground color.
Library "hsvColor" HSV and HSL Gradient Tool Alternatives and helpers. Demo'd is built-in in the middle with HSL/HSV gradients on top/bottom TODO: Solve for #000000 issue rgbhsv(_col) RGB Color to HSV Values Parameters: _col : Color input (#abc012 or color.name or color.rgb(0,0,0,0)) Returns: values rgbhsv(_r, _g, _b, _t) RGB Color to HSV...