Logic Machine Forum
Send fixed value for RGB 232.600 data type - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Send fixed value for RGB 232.600 data type (/showthread.php?tid=3481)



Send fixed value for RGB 232.600 data type - tigi - 21.07.2021

I would like to add some buttons in visualisation with fixed values.

Is it correct that the fixed value for an RGB 232.600 datatype has to be given in decimal format?

For example color rgb (204,0,0) is in decimal format 13369344
For example color rgb (255,255,0) is in decimal format 16776960

I found an online conversion tool to do this https://www.mathsisfun.com/hexadecimal-decimal-colors.html
I assume this is the fastest way to get those decimal numbers?


RE: Send fixed value for RGB 232.600 data type - Daniel - 21.07.2021

Both, Mosaic and custom visu is using hex format


RE: Send fixed value for RGB 232.600 data type - tigi - 21.07.2021

Thanks for the clarification.

I'm doing something wrong then because when I fill in a hex value I get a warning icon.

Adding # makes no difference (#FFFF00 or FFFF00)



   


RE: Send fixed value for RGB 232.600 data type - Daniel - 21.07.2021

A ok, I thought you will use the presets in the object visu itself. In raw value yes the decimal under your link will do.


RE: Send fixed value for RGB 232.600 data type - tigi - 21.07.2021

Thanks to point that out.