[Profiles] Prefer colors with right saturation and lightness
This CL further improves the algorithm of color selection to:
1) Disallow colors with very low saturation (currently the first line
in the color picker).
2) Prefer colors with lightness similar to the lightness of the current
profile (this disallows the very dark colors for the very light
colors and vice versa).
Bug: 1108295
Change-Id: I3adcc347b84285d5d2659f1972f075e992e0bebf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532565
Commit-Queue: Jan Krcal <jkrcal@chromium.org>
Reviewed-by:
David Roger <droger@chromium.org>
Auto-Submit: Jan Krcal <jkrcal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827443}
Showing
This diff is collapsed.
Please register or sign in to comment