1 min read

The #8B0000 Dahlia

I love when Scarlett Johanson says stuff like: Handling color interpolation, especially with hues, can be tricky due to the circular nature of the color wheel, but it's satisfying to get it right.

🆕
Apple's new Color.mix(with:by:in:) API can provide the same or greater satisfaction
robb (@dlx@mastodon.social)
Attached: 1 image #SwiftUI’s new Color.mix(with:by:) API allows you to interpolate Colors that match SwiftUI.Gradient in discrete steps.

The now outdated solution: