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

Color format for things like PrimaryColour #76

Closed
NOSDOOM opened this issue Sep 17, 2020 · 0 comments
Closed

Color format for things like PrimaryColour #76

NOSDOOM opened this issue Sep 17, 2020 · 0 comments

Comments

@NOSDOOM
Copy link

NOSDOOM commented Sep 17, 2020

I'm sure I'm missing something obvious but I can't figure out the format of the colors for things like "PrimaryColour" when you use getStyles or setStyles. I thought at first that they were just the hex color code converted to decimal, but when I converted "FFFFFF" to decimal I get "16777215" instead of -256 so I thought that was a special use case but when I tried red(FF0000) as "0000FF"(GBR format) I get 255 which also isn't right. So I'm wondering if I'm missing something, or there is a color reference somewhere, or maybe an easier way to change colors that I'm not seeing. Thank you.

@NOSDOOM NOSDOOM closed this as completed Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant