- Else tiny things I made

Contrast Ratio Table

While deciding on the colors for this site,
I met the page: https://jxnblk.github.io/colorable/demos/matrix/
(github: https://github.com/jxnblk/colorable (MIT License)

On the page above, if there are duplications of colors, then the duplicated second one is not displayed.
I misunderstood that behavior as a bug and felt uncomfortable with it, so I just made this script.
(I realized that behavior was intended after much later I had finished making this. It's my shame.)
The way to display has changed, and copy/paste has been added, so I posted it.

When you click the Copy button, the colors are saved to the clipboard with commas as delimiters.
Enter the content in the same format next to the Load From -> button and press the button to apply the relevant content again.

Repo: https://github.com/hyaniner/contrast_ratio_table
License: MIT License

aaa
bbb
ccc
ddd
rgb
H
S
L
tags