Topic Information

RGB values to Scratch color value? by 456donut_Test in Help With Scripts

Posts: 4

1: 456donut_Test wrote at 12:19:32 AM 15/5/20204013372
I am creating a type of color camera which uses RGBK values to produce pixelated cells that appear to be a certain “color”. I am currently trying to fix this by taking the RGBK values and converting them into a scratch color value, and then printing that instead. However, I was confused on how to do this and I am wondering if anybody could help. Thank you!

The link to the project is here: https://scratch.mit.edu/projects/383798585/
2: Oumuamua wrote at 12:31:57 AM 15/5/20204013428

456donut_Test wrote:

I am creating a type of color camera which uses RGBK values to produce pixelated cells that appear to be a certain “color”. I am currently trying to fix this by taking the RGBK values and converting them into a scratch color value, and then printing that instead. However, I was confused on how to do this and I am wondering if anybody could help. Thank you!

The link to the project is here: https://scratch.mit.edu/projects/383798585/

You said RGBK, is it a typo? If it is not, for what it stands?
3: Oumuamua wrote at 12:38:57 AM 15/5/20204013467
Perhaps this knowledge database can help

https://en.scratch-wiki.info/wiki/Computer_Colors#RGB_Colors
4: 456donut_Test wrote at 12:52:33 AM 15/5/20204013525
RGBK is Red Green Blue Black