Sunday, November 3, 2013

MIME Types

f you are creating a podcast or video feed you will need to include the appropriate mime type, the proper format is indicated below.

file typeMIME type
aiapplication/postscript
aifaudio/x-aiff
aifcaudio/x-aiff
aiffaudio/x-aiff
asctext/plain
atomapplication/atom+xml
auaudio/basic
avivideo/x-msvideo
bcpioapplication/x-bcpio
binapplication/octet-stream
bmpimage/bmp
cdfapplication/x-netcdf
cgmimage/cgm
classapplication/octet-stream
cpioapplication/x-cpio
cptapplication/mac-compactpro
cshapplication/x-csh
csstext/css
dcrapplication/x-director
difvideo/x-dv
dirapplication/x-director
djvimage/vnd.djvu
djvuimage/vnd.djvu
dllapplication/octet-stream
dmgapplication/octet-stream
dmsapplication/octet-stream
docapplication/msword
dtdapplication/xml-dtd
dvvideo/x-dv
dviapplication/x-dvi
dxrapplication/x-director
epsapplication/postscript
etxtext/x-setext
exeapplication/octet-stream
ezapplication/andrew-inset
gifimage/gif
gramapplication/srgs
grxmlapplication/srgs+xml
gtarapplication/x-gtar
hdfapplication/x-hdf
hqxapplication/mac-binhex40
htmtext/html
htmltext/html
icex-conference/x-cooltalk
icoimage/x-icon
icstext/calendar
iefimage/ief
ifbtext/calendar
igesmodel/iges
igsmodel/iges
jnlpapplication/x-java-jnlp-file
jp2image/jp2
jpeimage/jpeg
jpegimage/jpeg
jpgimage/jpeg
jsapplication/x-javascript
karaudio/midi
latexapplication/x-latex
lhaapplication/octet-stream
lzhapplication/octet-stream
m3uaudio/x-mpegurl
m4aaudio/mp4a-latm
m4baudio/mp4a-latm
m4paudio/mp4a-latm
m4uvideo/vnd.mpegurl
m4vvideo/x-m4v
macimage/x-macpaint
manapplication/x-troff-man
mathmlapplication/mathml+xml
meapplication/x-troff-me
meshmodel/mesh
midaudio/midi
midiaudio/midi
mifapplication/vnd.mif
movvideo/quicktime
movievideo/x-sgi-movie
mp2audio/mpeg
mp3audio/mpeg
mp4video/mp4
mpevideo/mpeg
mpegvideo/mpeg
mpgvideo/mpeg
mpgaaudio/mpeg
msapplication/x-troff-ms
mshmodel/mesh
mxuvideo/vnd.mpegurl
ncapplication/x-netcdf
odaapplication/oda
oggapplication/ogg
pbmimage/x-portable-bitmap
pctimage/pict
pdbchemical/x-pdb
pdfapplication/pdf
pgmimage/x-portable-graymap
pgnapplication/x-chess-pgn
picimage/pict
pictimage/pict
pngimage/png
pnmimage/x-portable-anymap
pntimage/x-macpaint
pntgimage/x-macpaint
ppmimage/x-portable-pixmap
pptapplication/vnd.ms-powerpoint
psapplication/postscript
qtvideo/quicktime
qtiimage/x-quicktime
qtifimage/x-quicktime
raaudio/x-pn-realaudio
ramaudio/x-pn-realaudio
rasimage/x-cmu-raster
rdfapplication/rdf+xml
rgbimage/x-rgb
rmapplication/vnd.rn-realmedia
roffapplication/x-troff
rtftext/rtf
rtxtext/richtext
sgmtext/sgml
sgmltext/sgml
shapplication/x-sh
sharapplication/x-shar
silomodel/mesh
sitapplication/x-stuffit
skdapplication/x-koan
skmapplication/x-koan
skpapplication/x-koan
sktapplication/x-koan
smiapplication/smil
smilapplication/smil
sndaudio/basic
soapplication/octet-stream
splapplication/x-futuresplash
srcapplication/x-wais-source
sv4cpioapplication/x-sv4cpio
sv4crcapplication/x-sv4crc
svgimage/svg+xml
swfapplication/x-shockwave-flash
tapplication/x-troff
tarapplication/x-tar
tclapplication/x-tcl
texapplication/x-tex
texiapplication/x-texinfo
texinfoapplication/x-texinfo
tifimage/tiff
tiffimage/tiff
trapplication/x-troff
tsvtext/tab-separated-values
txttext/plain
ustarapplication/x-ustar
vcdapplication/x-cdlink
vrmlmodel/vrml
vxmlapplication/voicexml+xml
wavaudio/x-wav
wbmpimage/vnd.wap.wbmp
wbmxlapplication/vnd.wap.wbxml
wmltext/vnd.wap.wml
wmlcapplication/vnd.wap.wmlc
wmlstext/vnd.wap.wmlscript
wmlscapplication/vnd.wap.wmlscriptc
wrlmodel/vrml
xbmimage/x-xbitmap
xhtapplication/xhtml+xml
xhtmlapplication/xhtml+xml
xlsapplication/vnd.ms-excel
xmlapplication/xml
xpmimage/x-xpixmap
xslapplication/xml
xsltapplication/xslt+xml
xulapplication/vnd.mozilla.xul+xml
xwdimage/x-xwindowdump
xyzchemical/x-xyz
zipapplication/zip

Friday, October 25, 2013

PHP getenv Get IP address function


function get_ip_address() {
    $ip_address = '';
    if (getenv('HTTP_CLIENT_IP'))
      $ip_address = getenv('HTTP_CLIENT_IP');
    else if(getenv('HTTP_X_FORWARDED_FOR'))
      $ip_address = getenv('HTTP_X_FORWARDED_FOR');
    else if(getenv('HTTP_X_FORWARDED'))
      $ip_address = getenv('HTTP_X_FORWARDED');
    else if(getenv('HTTP_FORWARDED_FOR'))
      $ip_address = getenv('HTTP_FORWARDED_FOR');
    else if(getenv('HTTP_FORWARDED'))
      $ip_address = getenv('HTTP_FORWARDED');
    else if(getenv('REMOTE_ADDR'))
      $ip_address = getenv('REMOTE_ADDR');
    else
      $ip_address = 'UNKNOWN';

    return $ip_address; 
  }

Monday, October 7, 2013

XML XSD Schema to Java Bindings

XML Schema TypeJava Data Type
xsd:stringjava.lang.String
xsd:integerjava.math.BigInteger
xsd:intint
xsd.longlong
xsd:shortshort
xsd:decimaljava.math.BigDecimal
xsd:floatfloat
xsd:doubledouble
xsd:booleanboolean
xsd:bytebyte
xsd:QNamejavax.xml.namespace.QName
xsd:dateTimejavax.xml.datatype.XMLGregorianCalendar
xsd:base64Binarybyte[]
xsd:hexBinarybyte[]
xsd:unsignedIntlong
xsd:unsignedShortint
xsd:unsignedByteshort
xsd:timejavax.xml.datatype.XMLGregorianCalendar
xsd:datejavax.xml.datatype.XMLGregorianCalendar
xsd:gjavax.xml.datatype.XMLGregorianCalendar
xsd:anySimpleTypejava.lang.Object
xsd:anySimpleTypejava.lang.String
xsd:durationjavax.xml.datatype.Duration
xsd:NOTATIONjavax.xml.namespace.QName

Thursday, August 22, 2013

List of JavaScript Interview Questions

  • What's the difference between call() and apply()?
  • What's the difference between setTimeout() and setInterval()? I can't even begin to tell you how many "JavaScript developers" I've interviewed who cannot answer this. I'm floored every time!
  • Explain what a closure is and give examples of when to use them and why it makes sense (and sometimes I ask when it DOESN'T make sense).
  • I usually ask some probing questions that are meant to lead to an answer along the lines of "because JavaScript is single-threaded". Tricky to ask without leading the candidate, usually I try for some sort of scenario involving a slow or locked up UI.
  • Explain what prototypal inheritance is. I'm looking for an answer that indicates they generally understand how prototypes work and how inheritance with them works.
  • I like to ask "if you have an object referenced by variable O, and you have another variable M that names a method of O, how do you call the method with no arguments?" The answer of course is simply O[M]() but you'd be surprised how many people don't seem to know you can do things like that (even though it's one of the things that makes JavaScript as powerful as it is).
  • How do you make an AJAX call? Looking simply for XMLHttpRequest of course, bonus points if they mention anything about JSON-P or hidden iFrames or any other "hack" - some argue XMLHttpRequest is a hack itself of course :)
  • What's the difference between undefined and null?
  • What statement gets a reference to a DOM node by ID?
  • How do you implement a Map? (all they have to say is an object is a map and I'm happy!)
  • What are the implications of a large number of script tags on a page? (looking for something about performance and concurrent requests and that sort of thing)
  • How do you create a multidimensional array?

Friday, August 9, 2013

[jmock] How to call mocked methods with multiple any arguments

Inside your expectation, include the following:

allowing (calculator).add(with(any(int.class)), with(any(int.class)));

More: jmock cheat sheet

Friday, July 19, 2013

Keyboard / Mouse lag constant beeping Windows 7 and 8 Fix!!

I had this issue of keyboard and mouse lagging on startup for a good 2 minutes; beeping every time I would press a key or move the cursor.

I tried a bunch of different articles with no solution:

http://www.tomshardware.com/forum/id-1651181/random-beeping-mouse-lags-keyboard-response.htmlhttp://www.computerhope.com/forum/index.php?topic=136886.0

My problem turned out to be sticky keys being enabled:
  1. Start up the Ease of Access Center
  2. Select "Make the keyboard easier to use"
  3. Turn off Filter Keys and Toggle Keys, go into Set up Filter Keys
  4. Disable the keyboard shortcut for Filter Keys, optionally disable the Other Settings.

2016 Update: A lot of users are running into this problem but the fix I mentioned did not work for them. If you encounter it now, I recommend testing the following scenarios to narrow down the problem area:

1. Test the keyboard / mouse on another machine.
2. Test a new keyboard / mouse on the problematic machine.
3. Look for any processes that might be bogging down your CPU at 100%.

Friday, June 7, 2013

How to get Eclipse Marketplace on Eclipse Classic

Help → Install new Software → Switch to the Juno Repository → General Purpose Tools → Marketplace Client

Tuesday, May 21, 2013

System.Windows.Forms.Keys Integer Values


None 0
LButton 1
RButton 2
Cancel 3
MButton 4
XButton1 5
XButton2 6
Back 8
Tab 9
LineFeed 10
Clear 12
Return 13
ShiftKey 16
ControlKey 17
Menu 18
Pause 19
Capital 20
KanaMode 21
JunjaMode 23
FinalMode 24
HanjaMode 25
Escape 27
IMEConvert 28
IMENonconvert 29
IMEAceept 30
IMEModeChange 31
Space 32
PageUp 33
Next 34
Next 34
End 35
Home 36
Left 37
Up 38
Right 39
Down 40
Select 41
Print 42
Execute 43
PrintScreen 44
Insert 45
Delete 46
Help 47
D0 48
D1 49
D2 50
D3 51
D4 52
D5 53
D6 54
D7 55
D8 56
D9 57
A 65
B 66
C 67
D 68
E 69
F 70
G 71
H 72
I 73
J 74
K 75
L 76
M 77
N 78
O 79
P 80
Q 81
R 82
S 83
T 84
U 85
V 86
W 87
X 88
Y 89
Z 90
LWin 91
RWin 92
Apps 93
Sleep 95
NumPad0 96
NumPad1 97
NumPad2 98
NumPad3 99
NumPad4 100
NumPad5 101
NumPad6 102
NumPad7 103
NumPad8 104
NumPad9 105
Multiply 106
Add 107
Separator 108
Subtract 109
Decimal 110
Divide 111
F1 112
F2 113
F3 114
F4 115
F5 116
F6 117
F7 118
F8 119
F9 120
F10 121
F11 122
F12 123
F13 124
F14 125
F15 126
F16 127
F17 128
F18 129
F19 130
F20 131
F21 132
F22 133
F23 134
F24 135
NumLock 144
Scroll 145
LShiftKey 160
RShiftKey 161
LControlKey 162
RControlKey 163
LMenu 164
RMenu 165
BrowserBack 166
BrowserForward 167
BrowserRefresh 168
BrowserStop 169
BrowserSearch 170
BrowserFavorites 171
BrowserHome 172
VolumeMute 173
VolumeDown 174
VolumeUp 175
MediaNextTrack 176
MediaPreviousTrack 177
MediaStop 178
MediaPlayPause 179
LaunchMail 180
SelectMedia 181
LaunchApplication1 182
LaunchApplication2 183
Oem1 186
Oem1 186
Oemplus 187
Oemcomma 188
OemMinus 189
OemPeriod 190
OemQuestion 191
OemQuestion 191
Oemtilde 192
Oemtilde 192
OemOpenBrackets 219
OemOpenBrackets 219
Oem5 220
Oem5 220
Oem6 221
Oem6 221
Oem7 222
Oem7 222
Oem8 223
OemBackslash 226
OemBackslash 226
ProcessKey 229
Packet 231
Attn 246
Crsel 247
Exsel 248
EraseEof 249
Play 250
Zoom 251
NoName 252
Pa1 253
OemClear 254
KeyCode 65535
Shift 65536
Control 131072
Alt 262144
Modifiers -65536

Sunday, April 28, 2013

Play Caesar 3 Windowed on Windows 7



Caesar 3 was built on 16 bit graphics, so on moving to windowed mode,  you encounter something like this:



To fix this issue, all you need to do is set your monitor to 16bit colors.

  1. Right click on your desktop and select Screen Resolution
  2. Select the monitor you are going to be playing the game on, then select Advanced Settings
  3. Select the Monitor tab from the popup display.
  4. Set the Colors to High Color (16 bit).
  5. Save and launch the game. Set windowed mode! Play away!

Don't have Caesar 3?




or try open source OpenCaesar 3 (Free)

Saturday, March 23, 2013

Saturday Morning City Builder


Tuesday, February 26, 2013

[TUT] How to set up your blogger custom URL!

Here is a step-by-step tutorial on how to convert your http://myblog.blogger.com subdomain into http://www.myblog.com !


1. Go to Settings --> Basic in your Blogger Dashboard. Under Publishing section, enter a custom domain for your blog name and select "Check Availability"


2. Purchase the domain with Google Wallet. You will be charged $10 and receive the domain for a year. It will be registered through GoDaddy. It may take anywhere from 1 to 24 hours for GoDaddy to register the request.

3. Here is where you would think it should be done. That Google and their awesome technology would automatically link www.myblog.com back to your blogger url and you'd be set! Right? If only...

4. Wrong. Your site will sit on a Google 404 error message until you manually connect the domain and blog. Don't worry! Here is how you do it.

5. Return to Settings --> Basic on your blog dashboard. This time, select "Switch to Advanced Settings" under the Publishing section.

6. Type in the address for your blog --> www.myblog.com , leave "Uses a missing files host?" as No and hit Save.


7. You should receive error 12 saying that it could not link to the url. You are given two rows of CNAMES which ARE important! Hold onto those for now. 

8. Go to your email account and find the registration email from GoDaddy


9. In this registration email, you're given a link to  set up your administrator account. Awesome right? Nope. Google fails again! Attempting to signup fails with an unknown google error! How are we going to get access to our newly purchased website!?



10. Instead, select the second link with the /a/yourblog.com . It will direct you to the login for your website's dashboard. Select "Can't access your account?" below the login form.


11. Reset your admin password (it will email to the same email you used to register the blog, and should be instantaneous).



12. Go back to your email and select the password reset link you were just sent. Set up a new password and you should arrive at the dashboard (you may need to login with the new password). Congrats! You're almost there!



13. Select Domain Settings tab


14. Select Domain names from the indented tabs menu. Then click Advanced DNS settings.

15. You're given some login info. Select Sign in to DNS console and enter the username and password you're given to gain access.


16. Once in the DNS console, go to Tools --> DNS Manager


17. Select the Edit Zone url below your site name.


18. Final step! Now add those CNAMES you got way back in Step 7 to the table named CNAME (Alias). You can use the Quick Add button to add them, then the Save button in the top right corner of the content area.


Note: the row 'www' - 'ghs.google.com' was already added, so I only had to add the second one containing a bunch of random characters. After this, try visiting www.myblog.com and seeing if you have access! It may take an hour or so for the changes to take effect.



If only the whole process was automated by Google...









Saturday, February 23, 2013

Hex Colors List

Red FF0000
Orange Red FF2400
Scarlet 8C1717
Firebrick 8E2323
Brown A62A2A
Orange FF7F00
Mandarin Orange E47833
Cool Copper D98719
Gold CD7F32
Copper B87333
Yellow FFFF00
Bright Gold D9D919
Old Gold CFB52B
Goldenrod DBDB70
Medium Goldenrod EAEAAE
Khaki 9F9F5F
Brass B5A642
Bronzell A67D3D
Bronze 8C7853
Feldspar D19275
Light Wood E9C2A6
New Tan EBC79E
Pink BC8F8F
Wheat D8D8BF
Tan DB9370
Black 000000
Baker's Chocolate 5C3317
Dark Brown 5C4033
Dark Tan 97694F
Dark Wood 855E42
Dusty Rose 856363
Indian Red 4E2F2F
Medium Wood A68064
Salmon 6F4242
Sienna 836B23
Semi-Sweet Chocolate 6B4226
Very Dark Brown 5C4033
Dark Olive Green 2F2F2F
Dark Green 2F4F2F
Hunter Green 215E21
Medium Forest Green 6B8E23
Medium Sea Green 426F42
Forest Green 238E23 
Dark Green Copper 4A766E 
Green Copper 527F76 
Sea Green 238E68
Aquamerine 70DB93
Medium Aquamarine 32CD99
Spring Green 00FF7F
Lime Green 32CD32
Green Yellow 93DB70
Pale Green 8FBC8F
Yellow Green 99CC32
Medium Spring Green 7FFF00
Green 00FF00
Cadet Blue 5F9F9F
Dark Slate Grey 2F4F4F
Dim Grey 545454
Light Grey A8A8A8
Very Light Grey CDCDCD
Grey C0C0C0
Light Blue C0D9D9
White FFFFFFWhite is FFFFFF
Silver E6E8FA
Quartz D9D9F3
Light Steel Blue 8F8FBD
Rich Blue 5959AB
Dark Turquoise 7093DB
CornFlower Blue 42426F
Midnight Blue 2F2F4F
New Midnight Blue 00009C
Navy Blue 23238E
Medium Blue 3232CD
Blue 0000FF
Neon Blue 4D4DFF
Slate Blue 007FFF
Summer Sky 38B0DE
Cyan 00FFFF
Medium Turquoise 70DBDB
Turquoise ADEAEA
Sky Blue 3299CC
Steel Blue 236B8E
Violet 4F2F4F
Dark Slate Blue 6B238E
Dark Orchid 9932CD
Medium Orchid 9370DB
Medium Slate Blue 7F00FF
Dark Purple 871F78
Maroon 8E236B
Blue Violet 9F5F9F
Orchid DB70DB
Neon Pink FF6EC7
Violet Red CC3299
Spicy Pink FF1CAE
Magenta FF00FF
Thistle D8BFD8
Plum EAADEA
Medium Violet Red DB7093

Azure
F0FFFF
Antiquewhite
FAEBD7
Beige
F5F5DC
Blanchedalmond
FFEBCD
Cornsilk
FFF8DC
Aqua
00FFFF
Bisque
FFE4C4
Black
000000
Aquamarine
7FFFD4
Blue
0000FF
Blueviolet
8A2BE2
Brown
A52A2A
Burlywood
DEB887
Cadetblue
5F9EA0
Chartreuse
7FFF00
Chocolate
D2691E
Coral
FF7F50
Cornflowerblue
6495ED
Aliceblue
F0F8FF
Crimson
DC143C
Cyan
00FFFF
Darkblue
00008B
Darkcyan
008B8B
Darkgoldenrod
B8860B
Darkgray
A9A9A9
Darkgreen
006400
Darkkhaki
BDB76B
Darkmagenta
8B008B
Darkolivegreen
556B2F
Darkorange
FF8C00
Darkorchid
9932CC
Darkred
8B0000
Darksalmon
E9967A
Darkseagreen
8FBC8F
Darkslateblue
483D8B
Darkslategray
2F4F4F
Darkturquoise
00CED1
Darkviolet
9400D3
deeppink
FF1493
Deepskyblue
00BFFF
Dimgray
696969
Dodgerblue
1E90FF
Firebrick
B22222
Floralwhite
FFFAF0
Forestgreen
228B22
Fuchsia
FF00FF
Gainsboro
DCDCDC
Ghostwhite
F8F8FF
Gold
FFD700
Goldenrod
DAA520
Gray
808080
Green
008000
Greenyellow
ADFF2F
Honeydew
F0FFF0
Hotpink
FF69B4
Indianred
CD5C5C
Indigo
4B0082
Ivory
FFFFF0
Khaki
F0E68C
Lavendar
E6E6FA
Lavenderblush
FFF0F5
Lawngreen
7CFC00
Lemonchiffon
FFFACD
Lightblue
ADD8E6
Lightcoral
F08080
Lightcyan
E0FFFF
Lightgoldenrodyellow
FAFAD2
Lightgreen
90EE90
Lightgrey
D3D3D3
Lightpink
FFB6C1
Lightsalmon
FFA07A
Lightseagreen
20B2AA
Lightskyblue
87CEFA
Lightslategray
778899
Lightsteelblue
B0C4DE
Lightyellow
FFFFE0
Lime
00FF00
Limegreen
32CD32
Linen
FAF0E6
Magenta
FF00FF
Maroon
800000
Mediumauqamarine
66CDAA
Mediumblue
0000CD
Mediumorchid
BA55D3
Mediumpurple
9370D8
Mediumseagreen
3CB371
Mediumslateblue
7B68EE
Mediumspringgreen
00FA9A
Mediumturquoise
48D1CC
Mediumvioletred
C71585
Midnightblue
191970
Mintcream
F5FFFA
Mistyrose
FFE4E1
Moccasin
FFE4B5
Navajowhite
FFDEAD
Navy
000080
Oldlace
FDF5E6
Olive
808000
Olivedrab
688E23
Orange
FFA500
Orangered
FF4500
Orchid
DA70D6
Palegoldenrod
EEE8AA
Palegreen
98FB98
Paleturquoise
AFEEEE
Palevioletred
D87093
Papayawhip
FFEFD5
Peachpuff
FFDAB9
Peru
CD853F
Pink
FFC0CB
Plum
DDA0DD
Powderblue
B0E0E6
Purple
800080
Red
FF0000
Rosybrown
BC8F8F
Royalblue
4169E1
Saddlebrown
8B4513
Salmon
FA8072
Sandybrown
F4A460
Seagreen
2E8B57
Seashell
FFF5EE
Sienna
A0522D
Silver
C0C0C0
Skyblue
87CEEB
Slateblue
6A5ACD
Slategray
708090
Snow
FFFAFA
Springgreen
00FF7F
Steelblue
4682B4
Tan
D2B48C
Teal
008080
Thistle
D8BFD8
Tomato
FF6347
Turquoise
40E0D0
Violet
EE82EE
Wheat
F5DEB3
White
FFFFFF
Whitesmoke
F5F5F5
Yellow
FFFF00
YellowGreen
9ACD32
namehex. codecolor bckgr namehex. codecolor bckgr
aliceblue#F0F8FF     antiquewhite#FAEBD7     
aqua#00FFFF     aquamarine#7FFFD4     
azure#F0FFFF     beige#F5F5DC     
bisque#FFE4C4     black#000000     
blanchedalmond#FFEBCD     blue#0000FF     
blueviolet#8A2BE2     brown#A52A2A     
burlywood#DEB887     cadetblue#5F9EA0     
chartreuse#7FFF00     chocolate#D2691E     
coral#FF7F50     cornflowerblue#6495ED     
cornsilk#FFF8DC     crimson#DC143C     
cyan#00FFFF     darkblue#00008B     
darkcyan#008B8B     darkgoldenrod#B8860B     
darkgray#A9A9A9     darkgreen#006400     
darkkhaki#BDB76B     darkmagenta#8B008B     
darkolivegreen#556B2F     darkorange#FF8C00     
darkorchid#9932CC     darkred#8B0000     
darksalmon#E9967A     darkseagreen#8FBC8F     
darkslateblue#483D8B     darkslategray#2F4F4F     
darkturquoise#00CED1     darkviolet#9400D3     
deeppink#FF1493     deepskyblue#00BFBF     
dimgray#696969     dodgerblue#1E90FF     
firebrick#B22222     floralwhite#FFFAF0     
forestgreen#228B22     fuchsia#FF00FF     
ghostwhite#F8F8FF     gainsboro#DCDCDC     
gold#FFD700     goldenrod#DAA520     
gray#808080     green#008000     
greenyellow#ADFF2F     honeydew#F0FFF0     
hotpink#FF69B4     indianred#CD5C5C     
indigo#4B0082     ivory#FFFFF0     
khaki#F0E68C     lavender#E6E6FA     
lavenderblush#FFF0F5     lawngreen#7CFC00     
lemonchiffon#FFFACD     lightblue#ADD8E6     
lightcoral#F08080     lightcyan#E0FFFF     
lightgoldenrodyellow#FAFAD2     lightgreen#90EE90     
lightgrey#D3D3D3     lightpink#FFB6C1     
lightsalmon#FFA07A     lightseagreen#20B2AA     
lightskyblue#87CEFA     lightslategray#778899     
lightsteelblue#B0C4DE     lightyellow#FFFFE0     
lime#00FF00     limegreen#32CD32     
linen#FAF0E6     magenta#FF00FF     
maroon#800000     mediumaquamarine#66CDAA     
mediumblue#0000CD     mediumorchid#BA55D3     
mediumpurple#9370DB     mediumseagreen#3CB371     
mediumslateblue#7B68EE     mediumspringgreen#00FA9A     
mediumturquoise#48D1CC     mediumvioletred#C71585     
midnightblue#191970     mintcream#F5FFFA     
mistyrose#FFE4E1     moccasin#FFE4B5     
navajowhite#FFDEAD     navy#000080     
oldlace#FDF5E6     olive#808000     
olivedrab#6B8E23     orange#FFA500     
orangered#FF4500     orchid#DA70D6     
palegoldenrod#EEE8AA     palegreen#98FB98     
paleturquoise#AFEEEE     palevioletred#DB7093     
papayawhip#FFEFD5     peachpuff#FFDAB9     
peru#CD853F     pink#FFC0CB     
plum#DDA0DD     powderblue#B0E0E6     
purple#800080     red#FF0000     
rosybrown#BC8F8F     royalblue#4169E1     
saddlebrown#8B4513     salmon#FA8072     
sandybrown#F4A460     seagreen#2E8B57     
seashell#FFF5EE     sienna#A0522D     
silver#C0C0C0     skyblue#87CEEB     
slateblue#6A5ACD     slategray#708090     
snow#FFFAFA     springgreen#00FF7F     
steelblue#4682B4     tan#D2B48C     
teal#008080     thistle#D8BFD8     
tomato#FF6347     turquoise#40E0D0     
violet#EE82EE     wheat#F5DEB3     
white#FFFFFF     whitesmoke#F5F5F5     
yellow#FFFF00     yellowgreen#9ACD32