Re:#c0ffee is the color
by ubernostrum on Monday June 12, 2017 @05:29PM
(#14541282)
The HTML5 color parsing algorithm is less complex than it seems. Mostly it boils down to "take any characters that aren't hex digits and replace them with zeroes, then truncate the resulting string in a consistent way to produce a 24-bit value".
[ Parent
| on HN ]
There are no comments on this comment yet.