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 ...
The purpose of this library is to split and merge an integer into useful pieces of information that can easily handled and plotted. The basic piece of information is one word. Depending on the underlying numerical system a word can be a bit, octal, digit, nibble, or byte. The user can define channels. Channels are named groups of words. Multiple words can be...
Utility for working with colors. Get the luminosity of a color and determine the optimal (black or white) foreground color.
Library "Hex" Hex String Utility intToHex(_n) helper Binary half octet to hex character Parameters: _n : Digits to convert fromDigits(_input, _buffer) Digits to Hex String output Parameters: _input : Integer Input _buffer : Number of 0's to pad Hex with Returns: string output hex character value buffered to desired length (00-ff default)