DEV Community

Discussion on: Write a function that outputs a pleasant text color hex given a background color hex

Collapse
 
elmuerte profile image
Michiel Hendriks

Note that only changing the luminosity part (hsl[2]) is vital. Disabling the other parts (hue and saturation) also creates pleasant results, just less colorful.