Libraryless. Click here for Pure Java version (2503L/18K).
static simplyCached LPairS webColorNamePairs() { ret map(tlft([[ Alice blue #F0F8FF Antique white #FAEBD7 Aqua #00FFFF Aquamarine #7FFFD4 Azure #F0FFFF Beige #F5F5DC Bisque #FFE4C4 Black #000000 Blanched almond #FFEBCD Blue #0000FF Blue violet #8A2BE2 Brown #A52A2A Burlywood #DEB887 Cadet blue #5F9EA0 Chartreuse #7FFF00 Chocolate #D2691E Coral #FF7F50 Cornflower blue #6495ED Cornsilk #FFF8DC Crimson #DC143C Cyan #00FFFF Dark blue #00008B Dark cyan #008B8B Dark goldenrod #B8860B Dark gray #A9A9A9 Dark green #006400 Dark khaki #BDB76B Dark magenta #8B008B Dark olive green #556B2F Dark orange #FF8C00 Dark orchid #9932CC Dark red #8B0000 Dark salmon #E9967A Dark seagreen #8DBC8F Dark slate blue #483D8B Dark slate gray #2F4F4F Dark turquoise #00DED1 Dark violet #9400D3 Deep pink #FF1493 Deep sky blue #00BFFF Dim gray #696969 Dodger blue #1E90FF Firebrick #B22222 Floral white #FFFAF0 Forest green #228B22 Fuchsia #FF00FF Gainsboro #DCDCDC Ghost white #F8F8FF Gold #FFD700 Goldenrod #DAA520 Gray #808080 Green #008000 Green yellow #ADFF2F Honeydew #F0FFF0 Hot pink #FF69B4 Indian red #CD5C5C Indigo #4B0082 Ivory #FFFFF0 Khaki #F0E68C Lavender #E6E6FA Lavender blush #FFF0F5 Lawn green #7CFC00 Lemon chiffon #FFFACD Light blue #ADD8E6 Light coral #F08080 Light cyan #E0FFFF Light goldenrod yellow #FAFAD2 Light green #90EE90 Light grey #D3D3D3 Light pink #FFB6C1 Light salmon #FFA07A Light sea green #20B2AA Light sky blue #87CEFA Light slate gray #778899 Light steel blue #B0C4DE Light yellow #FFFFE0 Lime #00FF00 Lime green #32CD32 Linen #FAF0E6 Magenta #FF00FF Maroon #800000 Medium aquamarine #66CDAA Medium blue #0000CD Medium orchid #BA55D3 Medium purple #9370DB Medium sea green #3CB371 Medium slate blue #7B68EE Medium spring green #00FA9A Medium turquoise #48D1CC Medium violet red #C71585 Midnight blue #191970 Mint cream #F5FFFA Misty rose #FFE4E1 Moccasin #FFE4B5 Navajo white #FFDEAD Navy #000080 Old lace #FDF5E6 Olive drab #6B8E23 Orange #FFA500 Orange red #FF4500 Orchid #DA70D6 Pale goldenrod #EEE8AA Pale green #98FB98 Pale turquoise #AFEEEE Pale violet red #DB7093 Papaya whip #FFEFD5 Peach puff #FFDAB9 Peru #CD853F Pink #FFC8CB Plum #DDA0DD Powder blue #B0E0E6 Purple #800080 Red #FF0000 Rosy brown #BC8F8F Royal blue #4169E1 Saddle brown #8B4513 Salmon #FA8072 Sandy brown #F4A460 Seagreen #2E8B57 Sea shell #FFF5EE Sienna #A0522D Silver #C0C0C0 Sky blue #87CEEB Slate blue #6A5ACD Snow #FFFAFA Spring green #00FF7F Steel blue #4682B4 Tan #D2B48C Thistle #D8BFD8 Teal #008080 Tomato #FF6347 Turquoise #40E0D0 Violet #EE82EE Wheat #F5DEB3 White #FFFFFF Whitesmoke #F5F5F5 Yellow #FFFF00 Yellow green #9ACD32 Black #000000 Navy #000080 Dark blue #00008B Medium blue #0000CD Blue #0000FF Dark green #006400 Green #008000 Teal #008080 Dark cyan #008B8B Deep sky blue #00BFFF Dark turquoise #00DED1 Medium spring green #00FA9A Lime #00FF00 Spring green #00FF7F Aqua #00FFFF Cyan #00FFFF Midnight blue #191970 Dodger blue #1E90FF Light sea green #20B2AA Forest green #228B22 Seagreen #2E8B57 Dark slate gray #2F4F4F Lime green #32CD32 Medium sea green #3CB371 Turquoise #40E0D0 Royal blue #4169E1 Steel blue #4682B4 Dark slate blue #483D8B Medium turquoise #48D1CC Indigo #4B0082 Dark olive green #556B2F Cadet blue #5F9EA0 Cornflower blue #6495ED Medium aquamarine #66CDAA Dim gray #696969 Slate blue #6A5ACD Olive drab #6B8E23 Light slate gray #778899 Medium slate blue #7B68EE Lawn green #7CFC00 Chartreuse #7FFF00 Aquamarine #7FFFD4 Maroon #800000 Purple #800080 Gray #808080 Sky blue #87CEEB Light sky blue #87CEFA Blue violet #8A2BE2 Dark red #8B0000 Dark magenta #8B008B Saddle brown #8B4513 Dark seagreen #8DBC8F Light green #90EE90 Medium purple #9370DB Dark violet #9400D3 Pale green #98FB98 Dark orchid #9932CC Yellow green #9ACD32 Sienna #A0522D Brown #A52A2A Dark gray #A9A9A9 Light blue #ADD8E6 Green yellow #ADFF2F Pale turquoise #AFEEEE Light steel blue #B0C4DE Powder blue #B0E0E6 Firebrick #B22222 Dark goldenrod #B8860B Medium orchid #BA55D3 Rosy brown #BC8F8F Dark khaki #BDB76B Silver #C0C0C0 Medium violet red #C71585 Indian red #CD5C5C Peru #CD853F Chocolate #D2691E Tan #D2B48C Light grey #D3D3D3 Thistle #D8BFD8 Orchid #DA70D6 Goldenrod #DAA520 Pale violet red #DB7093 Crimson #DC143C Gainsboro #DCDCDC Plum #DDA0DD Burlywood #DEB887 Light cyan #E0FFFF Lavender #E6E6FA Dark salmon #E9967A Violet #EE82EE Pale goldenrod #EEE8AA Light coral #F08080 Khaki #F0E68C Alice blue #F0F8FF Honeydew #F0FFF0 Azure #F0FFFF Sandy brown #F4A460 Wheat #F5DEB3 Beige #F5F5DC Whitesmoke #F5F5F5 Mint cream #F5FFFA Ghost white #F8F8FF Salmon #FA8072 Antique white #FAEBD7 Linen #FAF0E6 Light goldenrod yellow #FAFAD2 Old lace #FDF5E6 Red #FF0000 Fuchsia #FF00FF Magenta #FF00FF Deep pink #FF1493 Orange red #FF4500 Tomato #FF6347 Hot pink #FF69B4 Coral #FF7F50 Dark orange #FF8C00 Light salmon #FFA07A Orange #FFA500 Light pink #FFB6C1 Pink #FFC8CB Gold #FFD700 Peach puff #FFDAB9 Navajo white #FFDEAD Moccasin #FFE4B5 Bisque #FFE4C4 Misty rose #FFE4E1 Blanched almond #FFEBCD Papaya whip #FFEFD5 Lavender blush #FFF0F5 Sea shell #FFF5EE Cornsilk #FFF8DC Lemon chiffon #FFFACD Floral white #FFFAF0 Snow #FFFAFA Yellow #FFFF00 Light yellow #FFFFE0 Ivory #FFFFF0 White #FFFFFF ]]), l -> { int i = indexOf(l, "#"); ret pair(trim(takeFirst(l, i)), substring(l, i+1)); }); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027252 |
Snippet name: | webColorNamePairs |
Eternal ID of this version: | #1027252/2 |
Text MD5: | 856d5985e9b9edcabd17d5aca7c10c92 |
Transpilation MD5: | 30128ceee9eb7579f6158b0695a84b48 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 20:39:47 |
Source code size: | 5580 bytes / 280 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 171 / 245 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |