Skip to content

Conversation

@JonTheNiceGuy
Copy link

0-255 is what HTML uses, hence the confusion.

Description

During coding of my own app which used rgb(0-255, 0-255, 0-255) I found that I was only able to render 8 colours. Following a conversation in the matrix channel it was noted that these should be float(0-1) not int(0-255).

Further discussion identified that the documentation had incorrect values in it. This PR is to resolve that issue.

…curate 0-255 values

0-255 is what HTML uses, hence the confusion.
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

Successfully merging this pull request may close these issues.

1 participant