[JayBy] 2016-05-30 `defColor` provides procedures for color definitions, like ... * Tint and mix colors * Translate colors to #HHEEXX format * Search nearest name of given color * Takes care of additional 'SystemColors' on windows `defColor` uses only RGB values for calculation. ** Download ** Version 0.3: [http://download.lina-city.de/lifax/defColor-0.3.zip%|%defColor-0.3.zip%|%] ** Usage ** `package require defColor ?0.3?` COMMANDS `::defColor::reverse `: Reverse Colors<
>Output: [list ] `::defColor::mix ?? ??`: Mix with with the strength of (0-100).<
>Defaults: defaults to black or white depending of Brightness of . defaults to 50.<
>Output: `::defColor::tint ??`: Create lighter and darker color from given color with the strength of (0-100).<
>Defaults: defaults to 50.<
>Output: [list ] `::defColor::crFore `: Set black or white depending of <
>Output: `::defColor::luminance `: Calculate brightness level.<
>Output: `::defColor::nearestName `: Search nearest of <
>Output: [list ] Internal Helpers: ::defColor::conv2List <
>::defColor::conv2Hex <
>::defColor::list2Hex [list R G B]<
>::defColor::conv2Perc Old, for compatibility: ::defColor::isBright <
>::defColor::brightLevel <
>::defColor::listNames<
>::defColor::validate VARIABLES `::defColor::ColorNames`: List of all known color names, which comes from the builtin 'rgb.txt'. Each color definition is a sublist like [list ]. ---- '''[Siqsuruq] - 2016-05-30 16:51:17''' Link is not working. <> GUI