
This brick changes the color of the pen used by the actor. It’s like switching to a different color pen while drawing.
Red, Green, Blue (RGB): The RGB color model uses different intensities of red, green, and blue light to create a wide spectrum of colors. Each color component (red, green, and blue) can have a value between 0 and 255:
- Red: The red component of the color. A higher value means more red.
- Green: The green component of the color. A higher value means more green.
- Blue: The blue component of the color. A higher value means more blue.
By combining different values for red, green, and blue, you can create any color. For example:
RGB(255, 0, 0)is pure red.RGB(0, 255, 0)is pure green.RGB(0, 0, 255)is pure blue.RGB(255, 255, 255)is white (maximum red, green, and blue).RGB(0, 0, 0)is black (no color).
Mixing these colors in different amounts creates all the colors you see on digital screens.

You must be logged in to post a comment.