| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>Colour...</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
Colour... |
| 13 |
</b></font></table></table> |
| 14 |
<p>A command in the <a href="Pen_menu.html">Pen menu</a> of the <a href="Picture_window.html">Picture window</a>, to set the colour of subsequent drawings.</p> |
| 15 |
<p>You can specify the colour as one of the colour names in the Pen menu, or as a grey number betwene 0.0 (black) and 1.0 (white), or as a RGB sequence.</p> |
| 16 |
<p>In an RGB sequence you specify a red value between 0.0 (no red) and 1.0 (brightest red), a green value between 0.0 (no green) and 1.0 (brightest green), and a blue value between 0.0 (no blue) and 1.0 (brightest blue). For instance, {0,1,0} is green, {1,1,1} is white, or { 1, 0.5, 0.5 } is pink.</p> |
| 17 |
<hr> |
| 18 |
<address> |
| 19 |
<p>© Paul Boersma 2023</p> |
| 20 |
</address> |
| 21 |
</body> |
| 22 |
</html> |