Daedalus Dock - Modules - Types

code/__HELPERS/sanitize_values.dm

/proc/sanitize_color Makes sure the input color is text with a # at the start followed by 6 hexadecimal characters. Examples: "#ff1234", "#A38321", COLOR_GREEN_GRAY