1/* colors.sswf V1.00 - written by Alexis Wilke for Made to Order Software Corp. (c) 2002-2009 */ 2/* encoding="iso8859-1" */ 3 4/* 5 6Copyright (c) 2002-2009 Made to Order Software Corp. 7 8Permission is hereby granted, free of charge, to any 9person obtaining a copy of this software and 10associated documentation files (the "Software"), to 11deal in the Software without restriction, including 12without limitation the rights to use, copy, modify, 13merge, publish, distribute, sublicense, and/or sell 14copies of the Software, and to permit persons to whom 15the Software is furnished to do so, subject to the 16following conditions: 17 18The above copyright notice and this permission notice 19shall be included in all copies or substantial 20portions of the Software. 21 22THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 23ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 24LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 25FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 26EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 27LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 28WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 29ARISING FROM, OUT OF OR IN CONNECTION WITH THE 30SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 31SOFTWARE. 32 33*/ 34 35/* 36 * This file describs colors one can use with his and/or her 37 * SWF script. Include this file on your command line and 38 * then you can reference any color as: 39 * 40 * sswf.col.<name> 41 * 42 */ 43 44block sswf { 45 list col { 46 color black { 0, 0, 0, 1 }; 47 color grey0 { 0, 0, 0, 1 }; 48 color grey1 { 0.0666666, 0.0666666, 0.0666666, 1 }; 49 color grey2 { 0.1333333, 0.1333333, 0.1333333, 1 }; 50 color grey3 { 0.2, 0.2, 0.2, 1 }; 51 color grey4 { 0.2666666, 0.2666666, 0.2666666, 1 }; 52 color grey5 { 0.3333333, 0.3333333, 0.3333333, 1 }; 53 color grey6 { 0.4, 0.4, 0.4, 1 }; 54 color grey7 { 0.4666666, 0.4666666, 0.4666666, 1 }; 55 color grey8 { 0.5333333, 0.5333333, 0.5333333, 1 }; 56 color grey9 { 0.6, 0.6, 0.6, 1 }; 57 color grey10 { 0.6666666, 0.6666666, 0.6666666, 1 }; 58 color grey11 { 0.7333333, 0.7333333, 0.7333333, 1 }; 59 color grey12 { 0.8, 0.8, 0.8, 1 }; 60 color grey13 { 0.8666666, 0.8666666, 0.8666666, 1 }; 61 color grey14 { 0.9333333, 0.9333333, 0.9333333, 1 }; 62 color white { 1, 1, 1, 1 }; 63 color grey15 { 1, 1, 1, 1 }; 64 color gray0 { black }; 65 color gray1 { grey1 }; 66 color gray2 { grey2 }; 67 color gray3 { grey3 }; 68 color gray4 { grey4 }; 69 color gray5 { grey5 }; 70 color gray6 { grey6 }; 71 color gray7 { grey7 }; 72 color gray8 { grey8 }; 73 color gray9 { grey9 }; 74 color gray10 { grey10 }; 75 color gray11 { grey11 }; 76 color gray12 { grey12 }; 77 color gray13 { grey13 }; 78 color gray14 { grey14 }; 79 color gray15 { white }; 80 color red { 1, 0, 0, 1 }; 81 color green { 0, 1, 0, 1 }; 82 color blue { 0, 0, 1, 1 }; 83 color cyan { 0, 1, 1, 1 }; 84 color purple { 1, 0, 1, 1 }; 85 color yellow { 1, 1, 0, 1 }; 86 color transparent { 0, 0, 0, 0 }; 87 color orange { 1, 0.647, 0, 1 }; 88 } fc; 89 /* the color unit is forced so users can't specify the wrong one */ 90}; 91 92// vim: ts=4 93