Validates a color value per the Color Module 2025.10: a colorSpace from
the supported list, exactly three components that are numbers or "none"
within the space's ranges, an optional alpha in [0, 1], and an optional
6-digit hex fallback. For sRGB with all-numeric components, a hex that
disagrees with the components yields a warning.
Validates a
colorvalue per the Color Module 2025.10: acolorSpacefrom the supported list, exactly threecomponentsthat are numbers or"none"within the space's ranges, an optionalalphain[0, 1], and an optional 6-digithexfallback. For sRGB with all-numeric components, ahexthat disagrees with the components yields a warning.