🎨 Determine the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
color
accessibility
colors
contrast
hsl
wcag
background
hsv
chroma
foreground
luminosity
darken
luma
contrast-color
yiq
font-color
foreground-background
foreground-color
-
Updated
Feb 2, 2023 - JavaScript