|
|
|
Published By OrionP on Friday, September 05, 2003 - 10:59 PM
LDraw color pallette table with color numbers listed. The current version of ldconfig.ldr containing the definitions for these colous can be found here
| Black |
Dark -2 |
Medium -1 |
Bright 0 |
Light +1 |
Light +2 |
White |
Color + Gray |
| 0 |
|
8 |
7 |
|
|
15 |
|
| Gray |
|
|
|
4 |
12 |
13 |
|
|
| Red |
|
6 |
|
25 |
|
|
|
|
| Orange |
|
|
|
|
|
|
|
|
| Yellow-Orange |
|
|
|
14 |
|
|
|
|
| Yellow |
|
|
|
|
|
|
|
|
| Yellow-Green |
|
|
|
2 |
17 |
|
|
|
| Green |
|
|
|
4 |
|
|
|
|
| Blue-Green |
|
|
|
1 |
|
|
|
|
| Blue |
|
|
|
|
|
|
|
|
| Blue-Violet |
|
|
22 |
26 |
|
|
|
|
| Purple |
Source:
LDraw FAQ and Suzanne Rich's Color Reference table.
Color List
Here is a list of color names along with their LDraw number and RGB value.
- Black
- LDraw: 0
- RGB: 33 33 33
- POV-Ray: <0.13, 0.13, 0.13>
- Blue
- LDraw: 1
- RGB: 0 51 178
- POV-Ray: <0.00, 0.20, 0.70>
- Bright Green
- LDraw: 10 (or 418)
- RGB: 107 238 144
- POV-Ray: <0.42, 0.93, 0.56>
- Brown
- LDraw: 6
- RGB: 92 32 0
- POV-Ray: <0.36, 0.13, 0.00>
- Chrome Gold
- LDraw: 334
- RGB: 225 110 19
- POV-Ray: <0.88, 0.43, 0.07>
- Chrome Silver
- LDraw: 383
- RGB: 224 224 224
- POV-Ray: <0.88, 0.88, 0.88>
- Clear (trans white)
- LDraw: 47
- RGB: 255 255 255
- POV-Ray: <1.00, 1.00, 1.00, 0.90>
- Dark Blue
- LDraw: 272
- RGB: 0 29 104
- POV-Ray: <0.00, 0.11, 0.41>
- Dark Gray
- LDraw: 8
- RGB: 99 95 82
- POV-Ray: <0.39, 0.37, 0.32>
- Dark Green
- LDraw: 288
- RGB: 39 70 44
- POV-Ray: <0.15, 0.27, 0.17>
- Dark Orange
- LDraw: 484
- RGB: 179 62 0
- POV-Ray: <0.70, 0.24, 0.00>
- Dark Pink
- LDraw: 5
- RGB: 223 102 149
- POV-Ray: <0.87, 0.40, 0.58>
- Dark Red (first found in set 10019, Star Wars Rebel Blockade Runner)
- LDraw: 320
- RGB: 120 0 28
- POV-Ray: <0.47, 0.00, 0.11>
- Dark Stone Gray (New Dark Gray)
- LDraw: 72
- RGB: 99 95 97
- POV-Ray: <0.39, 0.37, 0.38>
- Dark Tan
- LDraw: 28
- RGB: 197 151 80
- POV-Ray: <0.77, 0.59, 0.31>
- Earth Orange
- LDraw: 366
- RGB: 209 131 4
- POV-Ray: <0.82, 0.51, 0.02>
- Electric Contact
- LDraw: 494 (yellow)
- RGB: 208 208 208 (chrome)
- POV-Ray: <0.82, 0.82, 0.82>
- Gray
- LDraw: 7
- RGB: 193 194 193
- POV-Ray: <0.76, 0.76, 0.76>
- Green
- LDraw: 2
- RGB: 0 140 20
- POV-Ray: <0.00, 0.55, 0.08>
- Light Blue
- LDraw: 9
- RGB: 107 171 220
- POV-Ray: <0.42, 0.67, 0.86>
- Light Gray (from Mosaic sets)
- LDraw: 503
- RGB: 230 227 218
- POV-Ray: <0.90, 0.89, 0.85>
- Light Green (Belville, Pastel Green)
- LDraw: 17 (or 431)
- RGB: 186 255 206
- POV-Ray: <0.73, 1.00, 0.81>
- Light Orange
- LDraw: 462 (code formerly used for regular orange)
- RGB: 254 159 6
- POV-Ray: <1.00, 0.62, 0.02>
- Light Red (Scala, Salmon)
- LDraw: 12 (or 463)
- RGB: 255 133 122
- POV-Ray: <1.00, 0.52, 0.48>
- Light Violet (Belville)
- LDraw: 20
- RGB: 215 196 230
- POV-Ray: <0.84, 0.77, 0.90>
- Light Yellow (Belville)
- LDraw: 18 (or 495)
- RGB: 253 232 150
- POV-Ray: <0.99, 0.91, 0.59>
- Lime
- LDraw: 27
- RGB: 215 240 0
- POV-Ray: <0.84, 0.94, 0.00>
- Magenta
- LDraw: 26
- RGB: 216 27 109
- POV-Ray: <0.85, 0.11, 0.43>
- Orange
- LDraw: 25 (formerly 462)
- RGB: 249 96 0
- POV-Ray: <0.98, 0.38, 0.00>
- Pearl Copper
- LDraw: 134
- RGB: 147 135 103
- POV-Ray: <0.58, 0.53, 0.40>
- Pearl Gold
- LDraw: 142
- RGB: 215 169 75
- POV-Ray: <0.84, 0.66, 0.29>
- Pearl Gray
- LDraw: 135
- RGB: 171 173 172
- POV-Ray: <0.67, 0.68, 0.67>
- Pearl Sand Blue
- LDraw: 137
- RGB: 106 122 150
- POV-Ray: <0.42, 0.48, 0.59>
- Phosphor White (Glow in the Dark)
- LDraw: 21
- RGB: 224 255 176
- POV-Ray: <0.88, 1.00, 0.69>
- Pink
- LDraw: 13
- RGB: 249 164 198
- POV-Ray: <0.98, 0.64, 0.78>
- Red
- LDraw: 4
- RGB: 196 0 38
- POV-Ray: <0.77, 0.00, 0.15>
- Reddish Brown
- LDraw: 70
- RGB: 105 64 39
- POV-Ray: <0.41, 0.25, 0.15>
- Rubber Black
- LDraw: 256
- RGB: 33 33 33
- POV-Ray: <0.13, 0.13, 0.13>
- Rubber Blue
- LDraw: 273
- RGB: 0 51 178
- POV-Ray: <0.00, 0.20, 0.70>
- Rubber Gray
- LDraw: 375
- RGB: 193 194 193
- POV-Ray: <0.76, 0.76, 0.76>
- Rubber Red
- LDraw: 324
- RGB: 196 0 38
- POV-Ray: <0.77, 0.00, 0.15>
- Rubber White
- LDraw: 511
- RGB: 255 255 255
- POV-Ray: <1.00, 1.00, 1.00>
- Sand Blue
- LDraw: 379
- RGB: 106 122 150
- POV-Ray: <0.42, 0.48, 0.59>
- Sand Green
- LDraw: 378
- RGB: 160 188 172
- POV-Ray: <0.63, 0.74, 0.67>
- Sand Red
- LDraw: 335
- RGB: 191 135 130
- POV-Ray: <0.75, 0.53, 0.51>
- Sand Violet
- LDraw: 373
- RGB: 132 94 132
- POV-Ray: <0.52, 0.37, 0.52>
- Stone Gray (New Gray)
- LDraw: 71
- RGB: 163 162 164
- POV-Ray: <0.64, 0.64, 0.64>
- Tan
- LDraw: 19 (or 382)
- RGB: 232 207 161
- POV-Ray: <0.91, 0.81, 0.63>
- Teal
- LDraw: 3
- RGB: 0 153 159
- POV-Ray: <0.00, 0.60, 0.62>
- Trans Blue (or trans dark blue)
- LDraw: 33
- RGB: 0 32 160
- POV-Ray: <0.00, 0.13, 0.63, 0.90>
- Trans Flu Lime (Trans Neon Green, Trans Yellow-Green)
- LDraw: 42
- RGB: 192 255 0
- POV-Ray: <0.75, 1.00, 0.00, 0.90>
- Trans Flu Orange
- LDraw: 57
- RGB: 249 96 0
- POV-Ray: <0.98, 0.38, 0.00, 0.80>
- Trans Gray (Smoke)
- LDraw: 40 (or 32)
- RGB: 99 95 82
- POV-Ray: <0.39, 0.37, 0.32, 0.90>
- Trans Green
- LDraw: 34
- RGB: 6 100 50
- POV-Ray: <0.02, 0.39, 0.20, 0.90>
- Trans Light Cyan (Trans Light Blue)
- LDraw: 41
- RGB: 174 239 236
- POV-Ray: <0.68, 0.94, 0.93, 0.95>
- Trans Pink
- LDraw: 45
- RGB: 223 102 149
- POV-Ray: <0.87, 0.40, 0.58>
- Trans Red
- LDraw: 36
- RGB: 196 0 38
- POV-Ray: <0.77, 0.00, 0.15, 0.90>
- Trans Violet
- LDraw: 37
- RGB: 100 0 97
- POV-Ray: <0.39, 0.00, 0.38>
- Trans Yellow
- LDraw: 46
- RGB: 202 176 0
- POV-Ray: <0.79, 0.69, 0.00, 0.90>
- Turquiose (Cyan)
- LDraw: 11
- RGB: 51 166 167
- POV-Ray: <0.20, 0.65, 0.65>
- Violet (Purple)
- LDraw: 22
- RGB: 129 0 123
- POV-Ray: <0.51, 0.00, 0.48>
- Violet Blue
- LDraw: 23
- RGB: 71 50 176
- POV-Ray: <0.28, 0.20, 0.69>
- White
- LDraw: 15
- RGB: 255 255 255
- POV-Ray: <1.00, 1.00, 1.00>
- Yellow
- LDraw: 14
- RGB: 255 220 0
- POV-Ray: <1.00, 0.86, 0.00>
- Flesh (from Duplo figures)
- RGB: 250 163 157
- LDLite: 28
- Lime green (Blacktron II)
- RGB: 173 221 80
Edge colours
In LDraw colour number 24 refers to a contrast/complement colour for
the current colour (number 16).
Notice that complementing is not reversible for colour numbers 6, 7, 14, and 15.
| Surface |
Edge |
| 0 |
8 |
| 1 |
9 |
| 2 |
10 |
| 3 |
11 |
| 4 |
12 |
| 5 |
13 |
| 6 |
0 |
| 7 |
8 |
| 8 |
0 |
| 9 |
1 |
| 10 |
2 |
| 11 |
3 |
| 12 |
4 |
| 13 |
5 |
| 14 |
8 |
| 15 |
8 |
Dithered Colors
LDraw can render mixes of the basic 16 colors. This is commonly called 'dithering'.
You can use dithered colors on any line.
If you want to dither two colors from the range 0 - 15, use this formula to find the proper color code:
[Dithered Code] = [Color 1] + [Color 2] * 16 + 256
For example, if you wanted to mix black (color 0) and blue (color 1), the calculation would be:
[Dithered Code] = 0 + 1 * 16 + 256
Which is pretty to easy to find: 272.
Finally, the edge-color of Color 1 is used as the edge color of the dithered color.
This list was taken from the original LDraw FAQ. Color names and numbers are courtesy Steve Bliss, RGB values are courtesy Todd Lehman.
For questions, contact Steve Bliss.
|
|
|
 |
 |
Want to learn more about LDraw? Check out the following books:
|
|
|
|