I was working on a migrations folder icon (rel: #895) by cloning the folder-database and this was the result:
As you can see, the color in the motif path is from the light-blue palette, while the chosen base color was in the blue-gray palette.
I think this issue occurs due to two factors:
The original icon being cloned was yellow, and yellow icons tend to have less contrast between dark and light variations
the blue-gray and light-blue palettes have similar hue values, but very different saturations and luminances.
Since we are only playing with the hue and luminance values of the colors, the result ends up with a color from the light-blue palette instead of blue-gray.
This PR ensures the saturation of the base color is maintained when selecting the motif color, so the resulting color comes from the same palette as the base color.
Contribution Guidelines
[x] By creating this pull request, I acknowledge that I have read the Contribution Guidelines for this project
[x] I have read the Code Of Conduct and promise to abide by these rules
Description
I was working on a
migrations
folder icon (rel: #895) by cloning thefolder-database
and this was the result:As you can see, the color in the motif path is from the
light-blue
palette, while the chosen base color was in theblue-gray
palette.I think this issue occurs due to two factors:
blue-gray
andlight-blue
palettes have similar hue values, but very different saturations and luminances.Since we are only playing with the hue and luminance values of the colors, the result ends up with a color from the
light-blue
palette instead ofblue-gray
.This PR ensures the saturation of the base color is maintained when selecting the motif color, so the resulting color comes from the same palette as the base color.
Contribution Guidelines