Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate color combination to Red/Green, Color blind people may face issue. #74

Open
sanketsudake opened this issue Aug 17, 2014 · 14 comments

Comments

@sanketsudake
Copy link

Most of people have complex of red/green combination. You might look out for some other good
color combination.

@lengstrom
Copy link
Member

Thanks, I didn't think about that. I'll look into it.

@DnlRKorn
Copy link
Contributor

I was looking into it, and changing initialization.js to this changes red to purple and green to brown, but it'll need some sort of options implementation to switch between them

    window.colors = ["#cc66ff","#f1c40f","#3498db","#ac6319"];
    window.hexColorsToTintedColors = {
        "#cc66ff": "rgb(233,148,212)",
        "#f1c40f": "rgb(246,223,133)",
        "#3498db": "rgb(151,201,235)",
        "#ac6319": "rgb(214,177,140)"
    };

    window.rgbToHex = {
        "rgb(204,102,255)": "cc66ff",
        "rgb(241,196,15)": "#f1c40f",
        "rgb(52,152,219)": "#3498db",
        "rgb(172,99,25)": "#ac6319"
    };

    window.rgbColorsToTintedColors = {
        "rgb(204,102,255)": "rgb(233,148,212)",
        "rgb(241,196,15)": "rgb(246,223,133)",
        "rgb(52,152,219)": "rgb(151,201,235)",
        "rgb(172,99,25)": "rgb(214,177,140)"
    };

@lengstrom
Copy link
Member

I don't like those colors too much. We pulled all of our colors from http://flatuicolors.com - perhaps you could play around with the colors there?

@DnlRKorn
Copy link
Contributor

Ok, Ill run some new ones by you
#8e44ad - Purple
#d2b4de - Purble tinted

#d35400 - Orange
#e59866 - Orange tinted

@DnlRKorn
Copy link
Contributor

Side note: After testing out the colorblind version and then reopening the game in normal mode, the save state loaded with the purple and brown blocks still in play, but with no way to actually get rid of them.

@lengstrom
Copy link
Member

Clear your local storage / try testing in an incognito window (if you're using Chrome) if you would like to try to test color combinations.

@garrettdreyfus
Copy link
Contributor

Hey IceManQ I'd be interested in adding maybe an optional button in the pause menu. Would that be good? I'm sorry but we've come a bit attached to the games current colors. I'll try to get to work on it tomorrow! Btw those colors look great although I know nothing about color blindness I'm afraid.

@DnlRKorn
Copy link
Contributor

Sure! Doing it before the game starts will probably be easier though, because otherwise you'd have to work out how to change all the blocks colors midgame, and setting them is much simpler

@garrettdreyfus
Copy link
Contributor

Haha that is a very good point.

On Monday, August 18, 2014, IceManQ [email protected] wrote:

Sure! Doing it before the game starts will probably be easier though,
because otherwise you'd have to work out how to change all the blocks
colors midgame, and setting them is much simpler


Reply to this email directly or view it on GitHub
#74 (comment).

@Calinou
Copy link

Calinou commented Aug 18, 2014

In fact, if you want to support all types of colour blindness, you need to use something based on shapes instead of colours. Or something brightness-based in grayscale, but then it is hard to distinguish between bricks.

@lengstrom
Copy link
Member

Do you think that we could just use gradients?

@devRandy
Copy link

devRandy commented Oct 5, 2017

Hello! I have strong Protanopia colorblindness, saw this issue and wanted to give it a shot. I forked and used FlatUI colors, tell me what you think.
protanopia_hextris

@lengstrom
Copy link
Member

That's so cool! Could you package it up as an option in Hextris?

@devRandy
Copy link

devRandy commented Oct 5, 2017

Already did as an option on the main menu, its just a checkbox and label right now. Though the issue with it not changing previous block colors remains, I'm think maybe this checkbox(or button) should also restart a new session. Thoughts
check _option_hextris
?

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

No branches or pull requests

6 participants