SPLURT Station 13 - Modules - Types

code/__HELPERS/sanitize_values.dm

/proc/sanitize_hexcolorSanitizes a hexadecimal color. Always outputs lowercase.
/proc/sanitize_ooccolorMakes sure the input color is text with a # at the start followed by 6 hexadecimal characters. Examples: "#ff1234", "#A38321", COLOR_GREEN_GRAY