I made a RGB(Hex) color picker in Snap!

Project

Description

  1. Drag the slider to change the display color.
  2. The RGB(Hex) output will be shown at the top.

When I move my cursor around, the colour pickers turn pitch black. (I’m assuming that’s a bug…?)

Finally! A useful project! (Snap!'s native color pickers need a huge improvement btw)

(Snap!'s native color pickers need a huge improvement btw)

This isn’t helpful; what are you asking for?

You can’t even select gray colors in the color picker!

Snap 12 beta:

I don’t think snap really calls them betas, but it’s cool this is being added!

Github changelog:

Um yeah…

That is great. It’s funny; to my eye the grayscale bar is way too white; the midpoint doesn’t feel like 50% gray to me. I’m sure it’s right and I’m wrong, but I see grayscale bars in other software all the time and don’t have that reaction. Maybe when it’s someone else’s software I just don’t look so critically.

I wish the color picker were twice the size; I find it too hard to pick out the exact shade or tint I want. (Especially when it’s a brown, but don’t get me started on that!)

Jens talks about having multiple color picker modalities, so you could have RGB sliders or crayons or whatever. Someday.

it’s both too white and too black :wink: I’ve made it so both extremes take up more space than the gradient in-between, to make it easier to select pure white and pitch black. But the midpoint should be accurate…

As of yesterday we’re officially calling the current development version, in fact, v12 beta!

This means that we’re done with the features and are now testing for bugs. You’re all welcome to report them.

We’re using the beta in a bunch of other projects that we and others are developing in parallel, and those are scheduled to go live soon, so we’re planning the full release of Snap! v12 to production on June 1, 2026.

(or any of the other ones in that post)

Or an option to enter RGB values in a barebones one.

whoops :\

Isn’t the new color picker just your old suggestion from a little bit ago? It sure looks like it, just without the bottom.
(New color picker idea - #17 by bh):

I like it too.

the current one isn’t a fair hue one.

Yes, Jens took my idea about the grayscale part. I still think it would be an improvement if there were visible barriers between the actual grayscale part and the extra pieces of solid black and solid white; as it is, the scale looks subtly wrong and it’s not obvious why.

I’d be even happier if the new color picker included the crayons at the bottom, but I can see some reasons not to do that.

As for fair hues, Jadga hates that idea, so I don’t think it’ll happen. :~( More specifically, she hates the promotion of brown, rather than evening the widths of the color ranges. I suppose we could compromise by instead making magenta a separate color from purple. Magenta isn’t a spectral color, but it’s a real hue, rather than a promotion of dark shades of orange to a separate color. (But, I still insist, brown does have a five-letter color name, so people do think of it as a color rather than as a shade of something. Then again, teal has a four-letter name, so it’s even more considered its own color than brown…)

image

You don’t need to have the slider show exactly every single color possible on the slider! Even just setting it to

image

works really fast, as the original was quite slow on my machine

Why not use a color picker similar to the one found in the paint editor?

The midpoint is more accurate, and you can choose pure black and pure white in the bar below the grayscale one.

I’m guessing because the hex color picker can be more accurate.