- Timestamp:
- 03/21/07 10:14:37 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/Colors/color24.html
r200 r234 61 61 </dl> 62 62 63 63 64 64 The purpose of this function is to convert a RGB color triple 65 into the equivalent 24-big long integer. 65 into the equivalent 24-big long integer. 66 This routine was written to be used with routines like COLORS or 67 <a href=".//GETCOLOR.html">GETCOLOR</a>. 66 68 67 69 … … 71 73 <a name="#_color24"></a> 72 74 73 <h2>color24 <font size="-1" color="#006633"> Graphics, Color 75 <h2>color24 <font size="-1" color="#006633"> 76 Graphics, Color 74 77 </font></h2> 75 78 … … 79 82 80 83 81 <h3>Return value</h3> 82 a 24-bit long integer that is equivalent the input color. 84 <h3>Return value</h3> 85 a 24-bit long integer that is equivalent the input color. 83 86 The color is described in terms of a hexadecimal number (e.g., FF206A) 84 where the left two digits represent the blue color, the 85 middle two digits represent the green color, and the right 87 where the left two digits represent the blue color, the 88 middle two digits represent the green color, and the right 86 89 two digits represent the red color. 87 90 … … 103 106 </h4> 104 107 105 106 A three-element column or row array representing 108 109 A three-element column or row array representing 107 110 a color triple. The values of the elements must be between 0 and 255. 108 111 … … 112 115 113 116 114 <h3>Examples</h3> 115 To convert the color triple for the color YELLOW, 116 (255, 255, 0), to the hexadecimal value '00FFFF'x 117 <h3>Examples</h3><pre> 118 To convert the color triple for the color YELLOW, 119 (255, 255, 0), to the hexadecimal value '00FFFF'x 117 120 or the decimal number 65535, type: 118 121 119 122 IDL> color = COLOR24([255, 255, 0]) 120 121 This routine was written to be used with routines like COLORS or GETCOLOR122 123 123 <h3>Version history</h3> 124 125 </pre><h3>Version history</h3> 124 126 125 <h4>Version</h4> $Id: color24.pro 163 2006-08-29 12:59:46Z navarro $ 127 <h4>Version</h4> 128 $Id: color24.pro 231 2007-03-19 17:15:51Z pinsard $ 126 129 127 130 <h4>History</h4>
Note: See TracChangeset
for help on using the changeset viewer.