Thanks Basil, good catches. The patch looks good to me. I suppose it's OK for emacs-26, Eli? I agree that it looks like the two color lists can easily be unified later and that there seems to be more opportunities for reuse by css-mode.el in shr-color.el. -- Simen