Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@timgilbert
Copy link

Hey, this fixes a surprising error I was seeing trying to do this:

rgb_to_hex(%RGB{red: 186, green: 127, blue: 182})

Eventually I realized that every call to rgb_to_hex that got a remainder of 6 was bailing out.

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