Jump to content

tocolor how to know what color is


Fabioxps

Recommended Posts

  • Moderators

Better not knowing, it is a computer notation which is not very useful for us humans. And it is the raw output after all.

Better save RGBA in a table as input and use that.

The only reason for learning this notation is if you are working with a complexes non script language, where that knowledge is required.

Edited by IIYAMA
  • Haha 1
Link to comment
  • 5 months later...
  • Discord Moderators

that's a hex converted to a base10 number.
You can convert that back to HEX and HEX to RGB I think.
Use this to convert from base 10 to HEX and use this to convert from HEX to RGBA
 

Edit: Seems like it returns 255, 255, 100 (R, G, B) instead of 255, 100, 255 (R, G, B)

On 3/14/2018 at 23:07, thisdp said:

bitExtract

This works too.
Nice solution.

Edited by Pirulax
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...