Discuss Scratch

rickole
Scratcher
7 posts

How to transfer the RGB color to the 'scratch color' ??

if i wanna get a color based on its RGB value, how am i able to do it?
awesome-llama
Scratcher
1000+ posts

How to transfer the RGB color to the 'scratch color' ??

It depends on where you want to use the colour. Pen colour can be set (I cannot remember the scripts), and RGB for costumes will have to be imported from another image.
footsocktoe
Scratcher
1000+ posts

How to transfer the RGB color to the 'scratch color' ??

rickole wrote:

if i wanna get a color based on its RGB value, how am i able to do it?

If it's in the paint editor, you will have to be roundabout.

One way…

Open Microsoft Paint and make a color patch image using the RGB code. Save file.
Import that file into Scratch paint editor and use eyedropper tool to grab color.
Delete color patch image from paint editor.

Or you could have a sprite called “color palette” and put all your RGB color patch images in it as costumes.
stickfiregames
Scratcher
1000+ posts

How to transfer the RGB color to the 'scratch color' ??

If you mean the pen, you can use this script:
setpencolortor*65536+g*256+b
of if you're using hex colour codes:
setpencolortojoin0xFF0000
for both of these, you have to use the version of set pen color with a colour picker input, not the one with a number input. You can also do this with <touching color>.
rickole
Scratcher
7 posts

How to transfer the RGB color to the 'scratch color' ??

stickfiregames wrote:

If you mean the pen, you can use this script:
setpencolortor*65536+g*256+b
of if you're using hex colour codes:
setpencolortojoin0xFF0000
for both of these, you have to use the version of set pen color with a colour picker input, not the one with a number input. You can also do this with <touching color>.

OMG that workeddddddddd
thankssssssssssssss
Robotgroup34
Scratcher
23 posts

How to transfer the RGB color to the 'scratch color' ??

.

Last edited by Robotgroup34 (Oct. 20, 2021 12:54:42)

000melon
Scratcher
61 posts

How to transfer the RGB color to the 'scratch color' ??

Robotgroup34 wrote:

.
Do not necropost. Necroposting is when you post on an old, or ‘dead’ topic, causing it to go to the front of the forums.
Grits_and_Cheese
New Scratcher
1 post

How to transfer the RGB color to the 'scratch color' ??

You've already discussed how to turn RGB in the Scratch color palette, but what I'm trying to find out is how to turn the Scratch color palette into the RGB color palette. Can someone help me with this?
Harakou
Scratcher
1000+ posts

How to transfer the RGB color to the 'scratch color' ??

Grits_and_Cheese wrote:

You've already discussed how to turn RGB in the Scratch color palette, but what I'm trying to find out is how to turn the Scratch color palette into the RGB color palette. Can someone help me with this?
Hi! This topic is rather old - when you ask for help on an old thread, people often will only respond to the original post because they don't notice yours. if you need help, you're much better off creating a new thread. Be sure to explain the problem you're having! If you have a question about a post that was made here, you can always include a link to it in your new topic. Thanks!

Powered by DjangoBB