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

[Suggestion] Option for different roles on discord to have different colours in MC chat #117

Open
SilverBranch opened this Issue Dec 2, 2017 · 2 comments

Comments

2 participants
@SilverBranch
Copy link

SilverBranch commented Dec 2, 2017

No description provided.

@Mijago Mijago added this to To do in Version 3.1.0 via automation Jun 5, 2018

@Mijago

This comment has been minimized.

Copy link
Collaborator

Mijago commented Jun 6, 2018

Well, implementing the default colors should not be that difficult.
But how to find the color to be used for custom colors (as one can select any color for discord roles)?

We could use something like this to find the nearest color (the palette would hold every Minecraft color and return the MC-colorcode of it) and then add the color to the argument list as {USERCOLOR} or something similar.

@Mijago Mijago moved this from To do to In Progress in Version 3.1.0 Jun 6, 2018

@Mijago

This comment has been minimized.

Copy link
Collaborator

Mijago commented Jun 6, 2018

I tested it with RGB color space, works often, but mixes some colors up (as they may be closer together for the computer, but not for the human eye).

To do this correctly, we need to use a different color space than RGB.
CIELAB would suffice, i guess, but I do not think adding it only for this feature is worth it.

Any input or other ideas?

@Mijago Mijago moved this from In Progress to To do in Version 3.1.0 Jun 6, 2018

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