Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to convert RGB codes into colour effect, brightness effect and ghost effect?
- ParadoxScratching
-
100+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
Given the R, G and B, how do I turn a sprite into any colour using these three blocks?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.
Also, what should the colour of the sprite and background be?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.
- theosa11
-
71 posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
Given the R, G and B, how do I turn a sprite into any colour using these three blocks?Also, what should the colour of the sprite and background be?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.
well it depends on hat colo you want it to be
- ParadoxScratching
-
100+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
Of course I know. Is there a general formula for that though?Given the R, G and B, how do I turn a sprite into any colour using these three blocks?Also, what should the colour of the sprite and background be?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.well it depends on hat colo you want it to be
Last edited by ParadoxScratching (Aug. 16, 2021 01:14:44)
- 267511
-
11 posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
- Minecraft_Zoldyc
-
2 posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
Welp, you could change the numbers a bit…………. Given the R, G and B, how do I turn a sprite into any colour using these three blocks?Also, what should the colour of the sprite and background be?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.
- deck26
-
1000+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
I suspect what you're asking for is not possible but perhaps others know different.
- Scratch-Minion
-
1000+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
This project may help: https://scratch.mit.edu/projects/528561456/
It uses 10 costumes, all red (ie. color = 0), with different saturations as you need to set saturation as well as color and brightness.
Given any RGB colour, it chooses the costume with the closest saturation, then applies a color and brightness effect.
There is a long explanation in the project instructions and code inside.
It uses 10 costumes, all red (ie. color = 0), with different saturations as you need to set saturation as well as color and brightness.
Given any RGB colour, it chooses the costume with the closest saturation, then applies a color and brightness effect.
There is a long explanation in the project instructions and code inside.
- ParadoxScratching
-
100+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
That is the most useful piece of information I've ever received! Thanks a lot!Welp, you could change the numbers a bit…………. Given the R, G and B, how do I turn a sprite into any colour using these three blocks?Also, what should the colour of the sprite and background be?
PS. Don't suggest me to use pen. Doesn't work for my project, trust me.
- ParadoxScratching
-
100+ posts
How to convert RGB codes into colour effect, brightness effect and ghost effect?
https://scratch.mit.edu/projects/528561456/Nice~ I'll check that out This project may help:
It uses 10 costumes, all red (ie. color = 0), with different saturations as you need to set saturation as well as color and brightness.
Given any RGB colour, it chooses the costume with the closest saturation, then applies a color and brightness effect.
There is a long explanation in the project instructions and code inside.
- Discussion Forums
- » Help with Scripts
-
» How to convert RGB codes into colour effect, brightness effect and ghost effect?