SS1984 - Modules - Types

code/__HELPERS/colors.dm

/proc/flash_colorFlashes a color on the screen of a mob or client for a specified duration
/proc/is_color_darkGiven a color in the format of "#RRGGBB", will return if the color is dark.
/proc/color_transition_filterGenerates an HSL color transition matrix filter which nicely paints an object without making it a deep fried blob of color.
/proc/apply_matrix_to_colorApplies a color filter to a hex/RGB list color
/proc/split_colorGiven a color in the format of "#RRGGBB" or "#RRGGBBAA", gives back a 4 entry list with the number values of each
/proc/blend_colorBlend two colors using the normal blend mode of the CSS compositing algorithm