Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Define a Color Range - Use Case #206

CarelessCourage started this conversation in Feature Requests
Discussion options

Context

Im working on a full color system for work. The color system I am developing is basically just a simple way to handle a color scheme in a way that ensures the colors are readable against each other no matter which colors the user picks. For instace, if they pick a dark background color then the system forces him to pick a light foreground color for the text. That way the text is visible.

I was going to create a color picker for this system myself, using canvas. Thats how I came across Iro, and its geniunly the only color picker thats good enough that it has convinced me not to make my own custom one. The only thing thats missing for me is a simple way to limit a color selection to a certain lightness.

Use case:

In my use case it would be very handy if I can give the user a visual way of saying "looking at your background color, here is an acceptable range of colors you can pick for your foreground colors."

Basically, I would like to show them a color picker that has all the available colors and values except the very dark once, or the very light once depending on some other condition.

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Hey @CarelessCourage, did you apply a workaround for your use case? I happen to have the same functional requirement and I wanted to know if you successfully had an idea.

You must be logged in to vote
1 reply
Comment options

No. Best I could come up with was hide parts of the color picker with parent overflow. Actually this issue made me build my own color picker. But its not really finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /