PASS COLOR FROM JSON TO Color Add

 

Hello @Aximmetry 

We have been trying to  transmit  color from a JSON file, The RGB values get distorted when plugged from Collection Color to  {text to vector Node}  to a color add node 

example

RGB 1,98, 58  #01623A  changes to  hex #FFFFFF  RGB 1.24 , 98.05 , 58.24, 1


   iGabantu Studios

 
Profile Image
Eifert@Aximmetry
  -  

Hi,

It's a bit unclear which modules you use. Depending on what color format is in your JSON file, you can just simply use the Collection Color module:

If it is in an RGB format and not hex, then the Collection Color will expect a range of 0-1 and not 0-255.

If it has the 0-255 range, then you can probably use a Collection Vector module and divide the vector by 255, like this:

Warmest regards,

 
Profile Image
iGabantu Studios
  -  

Eifert@Aximmetry

Thank you the solution worked perfectly