• 1 Post
  • 217 Comments
Joined 2 years ago
cake
Cake day: January 1st, 2024

help-circle




  • A feature that will not do anything unless you explicitly press a button to start using it is quite literally opt-in, though? Opt-in doesn’t mean “I won’t even know the feature exists without hunting through the settings”. It just means that it won’t start doing things without your consent. Presenting a way to provide that consent in a more visible place than buried deeply in the settings does not make it opt-out. It might be a bit annoying to you, but it has no effect on your user choice or privacy, especially if there’s also a way to globally hide it and any other features like it, including new ones that might be added in the future.







  • If you want perceptual accuracy, HSV won’t do anything for you, under the hood it still operates in the same RGB space so any math you do in it won’t be perceptually linear. You’ll want to transform into a perceptually based color space like OKLCH first.

    The dark red in question, #0f0000, corresponds to oklch(0.1058 0.0434 29.23), in which 29.23 is the hue component that we need to change to get from red to orange. Pure orange (#ffa500) is oklch(0.7927 0.171 70.67), so we can take the 70.67 from that and plug it into the dark red value to get oklch(0.1058 0.0434 70.67). That would be the orange that has perceptually the same* brightness and saturation as the dark red. Unfortunately, that color is so dark and saturated that current displays can’t show it. The closest color to it in the RGB space would be #0c0200 which is only half as saturated, but that’s the closest you’re gonna get.

    Here’s a super cool online tool that let’s you play around in the OKLCH color space with nice visualizations: https://oklch.com/#0.1058,0.0434,70.67,100

    * color perception is really difficult, and there are several perceptual color spaces that will all give you slightly different “proper” results, but all of them are vastly better than just using RGB/HSV.