Adjusting the lightness range slider causes dark colors to be lighter than the locked color

#22 · open · 0 comments

View on GitHub ↗

FeBe95

### Description I was trying out the color scale generator when I noticed that the darker colors (>= `600`) might turn out lighter than the locked color (e.g. `500`), depending on the lightness range slider values. ### Reproducer 1. Go to https://lab.colormeup.co/p/Primary-23.28_0.098_274.96?k=500&n=0.9 - Primary Color: `#13144A` - Lock: `500` - Lightness Range: `0.9` - `0.97` 3. Look at palette ### Expected outcome The `600`, `700`, `800`, `900`, and `950` colors should always be darker than the locked `500` color. ### Actual outcome The `600`, `700`, `800`, `900`, and `950` colors are lighter than the locked `500` color. ### Screenshot <img width="1678" height="222" alt="Image" src="https://github.com/user-attachments/assets/76e8c25c-8e49-40da-adf1-b0d26554a122" />

Comments