Clarify Role Color needing Decimal, not Hex

I made a command that is meant to change the color of a role to an input hex code. I have found that the color will only update if the input hex only has numbers, no letters. I’m also outputting the parsed hex in the response text and it is correct. Attached is a picture of the flow with the update role block opened

Same happens to HTTP requests to Discord’s endpoints.
It’s requiring decimal color codes.

Yeah, like Gabriel said you need to use decimal colors. This should be clarified on the block, though, so I’m moving and renaming it.

So far the only Decimal Color Picker I’ve found is this one: https://www.mathsisfun.com/hexadecimal-decimal-colors.html

The block should just be updated to properly parse hex color codes, like other blocks do.

1 Like