I've set unconventional bgcolor
and color
elements, with a number of digits not divisible by three, or with more than six hex digits, to illustrate the algorithm used, which apparently pads it to a divisible-by-three amount, then divides into three sections, then truncates it to two nybbles per channel.
This idea came about because we were talking about arbitrarily precise bit depths.
2022-01-18