Skip to content

Get wrong color in getColors function #1080

Answered by kabentley
gisjiashu asked this question in Q&A
Discussion options

You must be logged in to vote

Please see this discussion about the format ColorDef uses. ColorDef stores as 0xTTBBGGRR, which is different than the color format used in HTML. Color 0xff is red in ColorDef format.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pmconne
Comment options

@gisjiashu
Comment options

@kabentley
Comment options

Answer selected by kabentley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants