-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
Trying to make a simple gradient between red #ff0000
and blu #0000ff
with color spaces HSL and HSB I have an unexpected result. It seem works correctly with RGB
and L*a*b*
.
Expected behavior should be similar to RGB
and L*a*b*
spaces.
Additional considerations:
- For
HSL
color space, increasing the steps the gradient seems to make the opposite turn of the wheel instead of the shortest way. - For
HSB
I cannot understand which way is used.
Maybe this func
could have a bug: mixedHue(source: CGFloat, target: CGFloat)
in DynamicColor+Mixing.swift
Metadata
Metadata
Assignees
Labels
No labels