(Redirected from Pen Shade)

Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
This article or section documents an outdated version of Scratch (version 2.0). For this article in the current version (version 3.0), see Pen Brightness (value).
Changing pen shade, from 0 to 100, with the color as red.

Pen shade was a value given to all sprites that defined the darkness/lightness of the pen's color. The default was 50 (the set color), but could be changed with the pen shade blocks.

Although pen shade was replaced in Scratch 3.0 by Pen Brightness, it is still possible to use this block in a project by finding an old project that uses a pen shade block and adding the block to the backpack.

Use in Scripts

Pen shade can be used in any projects that use the Pen. To change it, raise or lower the value. A pen shade of 0 is completely black, a pen shade of 100 is completely white, and a pen shade of 50 is the pure color. Values between 0 and 50 mix the color with black, and values between 50 and 100 mix the color with white. If the value is greater than 100, every 100 it alternates, being that 100-200 goes white to black, and 200-300 goes black to white. Thus, the value is the same modulo 200; changing the shade by 200 or any multiple of 200 will have no effect.

Related Blocks

A sprite's pen shade can be altered with these blocks, all found in the Pen Blocks palette:

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.