Skip to content

Instantly share code, notes, and snippets.

@primitivehuman
Last active December 20, 2015 13:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save primitivehuman/6138823 to your computer and use it in GitHub Desktop.
Save primitivehuman/6138823 to your computer and use it in GitHub Desktop.
Sublime Text 2 : Reg Replace - Convert all named css colors to hex values
//////////////////////////////////////////////////////////////
// This uses the Reg Replace plugin in Sublime Text 2 to find
// all named CSS color values and replace them
// with their equivalent hex value.
//
// Install the Reg Replace plugin
// using the Package Control Plugin
// http://wbond.net/sublime_packages/package_control
//
// Github RegReplace plugin page :
// https://github.com/facelessuser/RegReplace
//
// The following commented JSON is the command to run.
// This needs to go in "Default.sublime-commands"
// in your User directory.
// Make sure you have opening brackets "[" and closing "]"
// in this file or it won't be read by Sublime Text
// Uncomment the lines by changing syntax to Javascript
// and, on linux, pressing "super+/"
// Uncommenting on windows would be "ctrl+/"
// Uncommenting on mac would be "command+/"
//[
// {
// "caption": "Reg Replace: Replace all named css colors",
// "command": "reg_replace",
// "args": {"replacements": ["AliceBlue","AntiqueWhite", "Aqua", "Aquamarine", "Azure", "Beige", "Bisque", "Black", "BlanchedAlmond", "Blue", "BlueViolet", "Brown", "BurlyWood", "CadetBlue", "Chartreuse", "Chocolate", "Coral", "CornflowerBlue", "Cornsilk", "Crimson", "Cyan", "DarkBlue", "DarkCyan", "DarkGoldenRod", "DarkGray", "DarkGrey", "DarkGreen", "DarkKhaki", "DarkMagenta", "DarkOliveGreen", "Darkorange", "DarkOrchid", "DarkRed", "DarkSalmon", "DarkSeaGreen", "DarkSlateBlue", "DarkSlateGray", "DarkSlateGrey", "DarkTurquoise", "DarkViolet", "DeepPink", "DeepSkyBlue", "DimGray", "DimGrey", "DodgerBlue", "FireBrick", "FloralWhite", "ForestGreen", "Fuchsia", "Gainsboro", "GhostWhite", "Gold", "GoldenRod", "Gray", "Grey", "Green", "GreenYellow", "HoneyDew", "HotPink", "IndianRed", "Indigo", "Ivory", "Khaki", "Lavender", "LavenderBlush", "LawnGreen", "LemonChiffon", "LightBlue", "LightCoral", "LightCyan", "LightGoldenRodYellow", "LightGray", "LightGrey", "LightGreen", "LightPink", "LightSalmon", "LightSeaGreen", "LightSkyBlue", "LightSlateGray", "LightSlateGrey", "LightSteelBlue", "LightYellow", "Lime", "LimeGreen", "Linen", "Magenta", "Maroon", "MediumAquaMarine", "MediumBlue", "MediumOrchid", "MediumPurple", "MediumSeaGreen", "MediumSlateBlue", "MediumSpringGreen", "MediumTurquoise", "MediumVioletRed", "MidnightBlue", "MintCream", "MistyRose", "Moccasin", "NavajoWhite", "Navy", "OldLace", "Olive", "OliveDrab", "Orange", "OrangeRed", "Orchid", "PaleGoldenRod", "PaleGreen", "PaleTurquoise", "PaleVioletRed", "PapayaWhip", "PeachPuff", "Peru", "Pink", "Plum", "PowderBlue", "Purple", "Red", "RosyBrown", "RoyalBlue", "SaddleBrown", "Salmon", "SandyBrown", "SeaGreen", "SeaShell", "Sienna", "Silver", "SkyBlue", "SlateBlue", "SlateGray", "SlateGrey", "Snow", "SpringGreen", "SteelBlue", "Tan", "Teal", "Thistle", "Tomato", "Turquoise", "Violet", "Wheat", "White", "WhiteSmoke", "Yellow", "YellowGreen"]}
// }
//]
// The following JSON needs to be put in the "reg_replace.sublime-settings"
// file in your User package dir
{
"replacements": {
"AliceBlue": {
"find": "([^-_a-z])([\\s]*)AliceBlue",
"replace": "\\1\\2#F0F8FF",
"greedy": false,
"case": false
},
"AntiqueWhite": {
"find": "([^-_a-z])([\\s]*)AntiqueWhite",
"replace": "\\1\\2#FAEBD7",
"greedy": false,
"case": false
},
"Aqua": {
"find": "([^-_a-z])([\\s]*)Aqua",
"replace": "\\1\\2#00FFFF",
"greedy": false,
"case": false
},
"Aquamarine": {
"find": "([^-_a-z])([\\s]*)Aquamarine",
"replace": "\\1\\2#7FFFD4",
"greedy": false,
"case": false
},
"Azure": {
"find": "([^-_a-z])([\\s]*)Azure",
"replace": "\\1\\2#F0FFFF",
"greedy": false,
"case": false
},
"Beige": {
"find": "([^-_a-z])([\\s]*)Beige",
"replace": "\\1\\2#F5F5DC",
"greedy": false,
"case": false
},
"Bisque": {
"find": "([^-_a-z])([\\s]*)Bisque",
"replace": "\\1\\2#FFE4C4",
"greedy": false,
"case": false
},
"Black": {
"find": "([^-_a-z])([\\s]*)Black",
"replace": "\\1\\2#000000",
"greedy": false,
"case": false
},
"BlanchedAlmond": {
"find": "([^-_a-z])([\\s]*)BlanchedAlmond",
"replace": "\\1\\2#FFEBCD",
"greedy": false,
"case": false
},
"Blue": {
"find": "([^-_a-z])([\\s]*)Blue",
"replace": "\\1\\2#0000FF",
"greedy": false,
"case": false
},
"BlueViolet": {
"find": "([^-_a-z])([\\s]*)BlueViolet",
"replace": "\\1\\2#8A2BE2",
"greedy": false,
"case": false
},
"Brown": {
"find": "([^-_a-z])([\\s]*)Brown",
"replace": "\\1\\2#A52A2A",
"greedy": false,
"case": false
},
"BurlyWood": {
"find": "([^-_a-z])([\\s]*)BurlyWood",
"replace": "\\1\\2#DEB887",
"greedy": false,
"case": false
},
"CadetBlue": {
"find": "([^-_a-z])([\\s]*)CadetBlue",
"replace": "\\1\\2#5F9EA0",
"greedy": false,
"case": false
},
"Chartreuse": {
"find": "([^-_a-z])([\\s]*)Chartreuse",
"replace": "\\1\\2#7FFF00",
"greedy": false,
"case": false
},
"Chocolate": {
"find": "([^-_a-z])([\\s]*)Chocolate",
"replace": "\\1\\2#D2691E",
"greedy": false,
"case": false
},
"Coral": {
"find": "([^-_a-z])([\\s]*)Coral",
"replace": "\\1\\2#FF7F50",
"greedy": false,
"case": false
},
"CornflowerBlue": {
"find": "([^-_a-z])([\\s]*)CornflowerBlue",
"replace": "\\1\\2#6495ED",
"greedy": false,
"case": false
},
"Cornsilk": {
"find": "([^-_a-z])([\\s]*)Cornsilk",
"replace": "\\1\\2#FFF8DC",
"greedy": false,
"case": false
},
"Crimson": {
"find": "([^-_a-z])([\\s]*)Crimson",
"replace": "\\1\\2#DC143C",
"greedy": false,
"case": false
},
"Cyan": {
"find": "([^-_a-z])([\\s]*)Cyan",
"replace": "\\1\\2#00FFFF",
"greedy": false,
"case": false
},
"DarkBlue": {
"find": "([^-_a-z])([\\s]*)DarkBlue",
"replace": "\\1\\2#00008B",
"greedy": false,
"case": false
},
"DarkCyan": {
"find": "([^-_a-z])([\\s]*)DarkCyan",
"replace": "\\1\\2#008B8B",
"greedy": false,
"case": false
},
"DarkGoldenRod": {
"find": "([^-_a-z])([\\s]*)DarkGoldenRod",
"replace": "\\1\\2#B8860B",
"greedy": false,
"case": false
},
"DarkGray": {
"find": "([^-_a-z])([\\s]*)DarkGray",
"replace": "\\1\\2#A9A9A9",
"greedy": false,
"case": false
},
"DarkGrey": {
"find": "([^-_a-z])([\\s]*)DarkGrey",
"replace": "\\1\\2#A9A9A9",
"greedy": false,
"case": false
},
"DarkGreen": {
"find": "([^-_a-z])([\\s]*)DarkGreen",
"replace": "\\1\\2#006400",
"greedy": false,
"case": false
},
"DarkKhaki": {
"find": "([^-_a-z])([\\s]*)DarkKhaki",
"replace": "\\1\\2#BDB76B",
"greedy": false,
"case": false
},
"DarkMagenta": {
"find": "([^-_a-z])([\\s]*)DarkMagenta",
"replace": "\\1\\2#8B008B",
"greedy": false,
"case": false
},
"DarkOliveGreen": {
"find": "([^-_a-z])([\\s]*)DarkOliveGreen",
"replace": "\\1\\2#556B2F",
"greedy": false,
"case": false
},
"Darkorange": {
"find": "([^-_a-z])([\\s]*)Darkorange",
"replace": "\\1\\2#FF8C00",
"greedy": false,
"case": false
},
"DarkOrchid": {
"find": "([^-_a-z])([\\s]*)DarkOrchid",
"replace": "\\1\\2#9932CC",
"greedy": false,
"case": false
},
"DarkRed": {
"find": "([^-_a-z])([\\s]*)DarkRed",
"replace": "\\1\\2#8B0000",
"greedy": false,
"case": false
},
"DarkSalmon": {
"find": "([^-_a-z])([\\s]*)DarkSalmon",
"replace": "\\1\\2#E9967A",
"greedy": false,
"case": false
},
"DarkSeaGreen": {
"find": "([^-_a-z])([\\s]*)DarkSeaGreen",
"replace": "\\1\\2#8FBC8F",
"greedy": false,
"case": false
},
"DarkSlateBlue": {
"find": "([^-_a-z])([\\s]*)DarkSlateBlue",
"replace": "\\1\\2#483D8B",
"greedy": false,
"case": false
},
"DarkSlateGray": {
"find": "([^-_a-z])([\\s]*)DarkSlateGray",
"replace": "\\1\\2#2F4F4F",
"greedy": false,
"case": false
},
"DarkSlateGrey": {
"find": "([^-_a-z])([\\s]*)DarkSlateGrey",
"replace": "\\1\\2#2F4F4F",
"greedy": false,
"case": false
},
"DarkTurquoise": {
"find": "([^-_a-z])([\\s]*)DarkTurquoise",
"replace": "\\1\\2#00CED1",
"greedy": false,
"case": false
},
"DarkViolet": {
"find": "([^-_a-z])([\\s]*)DarkViolet",
"replace": "\\1\\2#9400D3",
"greedy": false,
"case": false
},
"DeepPink": {
"find": "([^-_a-z])([\\s]*)DeepPink",
"replace": "\\1\\2#FF1493",
"greedy": false,
"case": false
},
"DeepSkyBlue": {
"find": "([^-_a-z])([\\s]*)DeepSkyBlue",
"replace": "\\1\\2#00BFFF",
"greedy": false,
"case": false
},
"DimGray": {
"find": "([^-_a-z])([\\s]*)DimGray",
"replace": "\\1\\2#696969",
"greedy": false,
"case": false
},
"DimGrey": {
"find": "([^-_a-z])([\\s]*)DimGrey",
"replace": "\\1\\2#696969",
"greedy": false,
"case": false
},
"DodgerBlue": {
"find": "([^-_a-z])([\\s]*)DodgerBlue",
"replace": "\\1\\2#1E90FF",
"greedy": false,
"case": false
},
"FireBrick": {
"find": "([^-_a-z])([\\s]*)FireBrick",
"replace": "\\1\\2#B22222",
"greedy": false,
"case": false
},
"FloralWhite": {
"find": "([^-_a-z])([\\s]*)FloralWhite",
"replace": "\\1\\2#FFFAF0",
"greedy": false,
"case": false
},
"ForestGreen": {
"find": "([^-_a-z])([\\s]*)ForestGreen",
"replace": "\\1\\2#228B22",
"greedy": false,
"case": false
},
"Fuchsia": {
"find": "([^-_a-z])([\\s]*)Fuchsia",
"replace": "\\1\\2#FF00FF",
"greedy": false,
"case": false
},
"Gainsboro": {
"find": "([^-_a-z])([\\s]*)Gainsboro",
"replace": "\\1\\2#DCDCDC",
"greedy": false,
"case": false
},
"GhostWhite": {
"find": "([^-_a-z])([\\s]*)GhostWhite",
"replace": "\\1\\2#F8F8FF",
"greedy": false,
"case": false
},
"Gold": {
"find": "([^-_a-z])([\\s]*)Gold",
"replace": "\\1\\2#FFD700",
"greedy": false,
"case": false
},
"GoldenRod": {
"find": "([^-_a-z])([\\s]*)GoldenRod",
"replace": "\\1\\2#DAA520",
"greedy": false,
"case": false
},
"Gray": {
"find": "([^-_a-z])([\\s]*)Gray",
"replace": "\\1\\2#808080",
"greedy": false,
"case": false
},
"Grey": {
"find": "([^-_a-z])([\\s]*)Grey",
"replace": "\\1\\2#808080",
"greedy": false,
"case": false
},
"Green": {
"find": "([^-_a-z])([\\s]*)Green",
"replace": "\\1\\2#008000",
"greedy": false,
"case": false
},
"GreenYellow": {
"find": "([^-_a-z])([\\s]*)GreenYellow",
"replace": "\\1\\2#ADFF2F",
"greedy": false,
"case": false
},
"HoneyDew": {
"find": "([^-_a-z])([\\s]*)HoneyDew",
"replace": "\\1\\2#F0FFF0",
"greedy": false,
"case": false
},
"HotPink": {
"find": "([^-_a-z])([\\s]*)HotPink",
"replace": "\\1\\2#FF69B4",
"greedy": false,
"case": false
},
"IndianRed": {
"find": "([^-_a-z])([\\s]*)IndianRed",
"replace": "\\1\\2#CD5C5C",
"greedy": false,
"case": false
},
"Indigo": {
"find": "([^-_a-z])([\\s]*)Indigo",
"replace": "\\1\\2#4B0082",
"greedy": false,
"case": false
},
"Ivory": {
"find": "([^-_a-z])([\\s]*)Ivory",
"replace": "\\1\\2#FFFFF0",
"greedy": false,
"case": false
},
"Khaki": {
"find": "([^-_a-z])([\\s]*)Khaki",
"replace": "\\1\\2#F0E68C",
"greedy": false,
"case": false
},
"Lavender": {
"find": "([^-_a-z])([\\s]*)Lavender",
"replace": "\\1\\2#E6E6FA",
"greedy": false,
"case": false
},
"LavenderBlush": {
"find": "([^-_a-z])([\\s]*)LavenderBlush",
"replace": "\\1\\2#FFF0F5",
"greedy": false,
"case": false
},
"LawnGreen": {
"find": "([^-_a-z])([\\s]*)LawnGreen",
"replace": "\\1\\2#7CFC00",
"greedy": false,
"case": false
},
"LemonChiffon": {
"find": "([^-_a-z])([\\s]*)LemonChiffon",
"replace": "\\1\\2#FFFACD",
"greedy": false,
"case": false
},
"LightBlue": {
"find": "([^-_a-z])([\\s]*)LightBlue",
"replace": "\\1\\2#ADD8E6",
"greedy": false,
"case": false
},
"LightCoral": {
"find": "([^-_a-z])([\\s]*)LightCoral",
"replace": "\\1\\2#F08080",
"greedy": false,
"case": false
},
"LightCyan": {
"find": "([^-_a-z])([\\s]*)LightCyan",
"replace": "\\1\\2#E0FFFF",
"greedy": false,
"case": false
},
"LightGoldenRodYellow": {
"find": "([^-_a-z])([\\s]*)LightGoldenRodYellow",
"replace": "\\1\\2#FAFAD2",
"greedy": false,
"case": false
},
"LightGray": {
"find": "([^-_a-z])([\\s]*)LightGray",
"replace": "\\1\\2#D3D3D3",
"greedy": false,
"case": false
},
"LightGrey": {
"find": "([^-_a-z])([\\s]*)LightGrey",
"replace": "\\1\\2#D3D3D3",
"greedy": false,
"case": false
},
"LightGreen": {
"find": "([^-_a-z])([\\s]*)LightGreen",
"replace": "\\1\\2#90EE90",
"greedy": false,
"case": false
},
"LightPink": {
"find": "([^-_a-z])([\\s]*)LightPink",
"replace": "\\1\\2#FFB6C1",
"greedy": false,
"case": false
},
"LightSalmon": {
"find": "([^-_a-z])([\\s]*)LightSalmon",
"replace": "\\1\\2#FFA07A",
"greedy": false,
"case": false
},
"LightSeaGreen": {
"find": "([^-_a-z])([\\s]*)LightSeaGreen",
"replace": "\\1\\2#20B2AA",
"greedy": false,
"case": false
},
"LightSkyBlue": {
"find": "([^-_a-z])([\\s]*)LightSkyBlue",
"replace": "\\1\\2#87CEFA",
"greedy": false,
"case": false
},
"LightSlateGray": {
"find": "([^-_a-z])([\\s]*)LightSlateGray",
"replace": "\\1\\2#778899",
"greedy": false,
"case": false
},
"LightSlateGrey": {
"find": "([^-_a-z])([\\s]*)LightSlateGrey",
"replace": "\\1\\2#778899",
"greedy": false,
"case": false
},
"LightSteelBlue": {
"find": "([^-_a-z])([\\s]*)LightSteelBlue",
"replace": "\\1\\2#B0C4DE",
"greedy": false,
"case": false
},
"LightYellow": {
"find": "([^-_a-z])([\\s]*)LightYellow",
"replace": "\\1\\2#FFFFE0",
"greedy": false,
"case": false
},
"Lime": {
"find": "([^-_a-z])([\\s]*)Lime",
"replace": "\\1\\2#00FF00",
"greedy": false,
"case": false
},
"LimeGreen": {
"find": "([^-_a-z])([\\s]*)LimeGreen",
"replace": "\\1\\2#32CD32",
"greedy": false,
"case": false
},
"Linen": {
"find": "([^-_a-z])([\\s]*)Linen",
"replace": "\\1\\2#FAF0E6",
"greedy": false,
"case": false
},
"Magenta": {
"find": "([^-_a-z])([\\s]*)Magenta",
"replace": "\\1\\2#FF00FF",
"greedy": false,
"case": false
},
"Maroon": {
"find": "([^-_a-z])([\\s]*)Maroon",
"replace": "\\1\\2#800000",
"greedy": false,
"case": false
},
"MediumAquaMarine": {
"find": "([^-_a-z])([\\s]*)MediumAquaMarine",
"replace": "\\1\\2#66CDAA",
"greedy": false,
"case": false
},
"MediumBlue": {
"find": "([^-_a-z])([\\s]*)MediumBlue",
"replace": "\\1\\2#0000CD",
"greedy": false,
"case": false
},
"MediumOrchid": {
"find": "([^-_a-z])([\\s]*)MediumOrchid",
"replace": "\\1\\2#BA55D3",
"greedy": false,
"case": false
},
"MediumPurple": {
"find": "([^-_a-z])([\\s]*)MediumPurple",
"replace": "\\1\\2#9370D8",
"greedy": false,
"case": false
},
"MediumSeaGreen": {
"find": "([^-_a-z])([\\s]*)MediumSeaGreen",
"replace": "\\1\\2#3CB371",
"greedy": false,
"case": false
},
"MediumSlateBlue": {
"find": "([^-_a-z])([\\s]*)MediumSlateBlue",
"replace": "\\1\\2#7B68EE",
"greedy": false,
"case": false
},
"MediumSpringGreen": {
"find": "([^-_a-z])([\\s]*)MediumSpringGreen",
"replace": "\\1\\2#00FA9A",
"greedy": false,
"case": false
},
"MediumTurquoise": {
"find": "([^-_a-z])([\\s]*)MediumTurquoise",
"replace": "\\1\\2#48D1CC",
"greedy": false,
"case": false
},
"MediumVioletRed": {
"find": "([^-_a-z])([\\s]*)MediumVioletRed",
"replace": "\\1\\2#C71585",
"greedy": false,
"case": false
},
"MidnightBlue": {
"find": "([^-_a-z])([\\s]*)MidnightBlue",
"replace": "\\1\\2#191970",
"greedy": false,
"case": false
},
"MintCream": {
"find": "([^-_a-z])([\\s]*)MintCream",
"replace": "\\1\\2#F5FFFA",
"greedy": false,
"case": false
},
"MistyRose": {
"find": "([^-_a-z])([\\s]*)MistyRose",
"replace": "\\1\\2#FFE4E1",
"greedy": false,
"case": false
},
"Moccasin": {
"find": "([^-_a-z])([\\s]*)Moccasin",
"replace": "\\1\\2#FFE4B5",
"greedy": false,
"case": false
},
"NavajoWhite": {
"find": "([^-_a-z])([\\s]*)NavajoWhite",
"replace": "\\1\\2#FFDEAD",
"greedy": false,
"case": false
},
"Navy": {
"find": "([^-_a-z])([\\s]*)Navy",
"replace": "\\1\\2#000080",
"greedy": false,
"case": false
},
"OldLace": {
"find": "([^-_a-z])([\\s]*)OldLace",
"replace": "\\1\\2#FDF5E6",
"greedy": false,
"case": false
},
"Olive": {
"find": "([^-_a-z])([\\s]*)Olive",
"replace": "\\1\\2#808000",
"greedy": false,
"case": false
},
"OliveDrab": {
"find": "([^-_a-z])([\\s]*)OliveDrab",
"replace": "\\1\\2#6B8E23",
"greedy": false,
"case": false
},
"Orange": {
"find": "([^-_a-z])([\\s]*)Orange",
"replace": "\\1\\2#FFA500",
"greedy": false,
"case": false
},
"OrangeRed": {
"find": "([^-_a-z])([\\s]*)OrangeRed",
"replace": "\\1\\2#FF4500",
"greedy": false,
"case": false
},
"Orchid": {
"find": "([^-_a-z])([\\s]*)Orchid",
"replace": "\\1\\2#DA70D6",
"greedy": false,
"case": false
},
"PaleGoldenRod": {
"find": "([^-_a-z])([\\s]*)PaleGoldenRod",
"replace": "\\1\\2#EEE8AA",
"greedy": false,
"case": false
},
"PaleGreen": {
"find": "([^-_a-z])([\\s]*)PaleGreen",
"replace": "\\1\\2#98FB98",
"greedy": false,
"case": false
},
"PaleTurquoise": {
"find": "([^-_a-z])([\\s]*)PaleTurquoise",
"replace": "\\1\\2#AFEEEE",
"greedy": false,
"case": false
},
"PaleVioletRed": {
"find": "([^-_a-z])([\\s]*)PaleVioletRed",
"replace": "\\1\\2#D87093",
"greedy": false,
"case": false
},
"PapayaWhip": {
"find": "([^-_a-z])([\\s]*)PapayaWhip",
"replace": "\\1\\2#FFEFD5",
"greedy": false,
"case": false
},
"PeachPuff": {
"find": "([^-_a-z])([\\s]*)PeachPuff",
"replace": "\\1\\2#FFDAB9",
"greedy": false,
"case": false
},
"Peru": {
"find": "([^-_a-z])([\\s]*)Peru",
"replace": "\\1\\2#CD853F",
"greedy": false,
"case": false
},
"Pink": {
"find": "([^-_a-z])([\\s]*)Pink",
"replace": "\\1\\2#FFC0CB",
"greedy": false,
"case": false
},
"Plum": {
"find": "([^-_a-z])([\\s]*)Plum",
"replace": "\\1\\2#DDA0DD",
"greedy": false,
"case": false
},
"PowderBlue": {
"find": "([^-_a-z])([\\s]*)PowderBlue",
"replace": "\\1\\2#B0E0E6",
"greedy": false,
"case": false
},
"Purple": {
"find": "([^-_a-z])([\\s]*)Purple",
"replace": "\\1\\2#800080",
"greedy": false,
"case": false
},
"Red": {
"find": "([^-_a-z])([\\s]*)Red",
"replace": "\\1\\2#FF0000",
"greedy": false,
"case": false
},
"RosyBrown": {
"find": "([^-_a-z])([\\s]*)RosyBrown",
"replace": "\\1\\2#BC8F8F",
"greedy": false,
"case": false
},
"RoyalBlue": {
"find": "([^-_a-z])([\\s]*)RoyalBlue",
"replace": "\\1\\2#4169E1",
"greedy": false,
"case": false
},
"SaddleBrown": {
"find": "([^-_a-z])([\\s]*)SaddleBrown",
"replace": "\\1\\2#8B4513",
"greedy": false,
"case": false
},
"Salmon": {
"find": "([^-_a-z])([\\s]*)Salmon",
"replace": "\\1\\2#FA8072",
"greedy": false,
"case": false
},
"SandyBrown": {
"find": "([^-_a-z])([\\s]*)SandyBrown",
"replace": "\\1\\2#F4A460",
"greedy": false,
"case": false
},
"SeaGreen": {
"find": "([^-_a-z])([\\s]*)SeaGreen",
"replace": "\\1\\2#2E8B57",
"greedy": false,
"case": false
},
"SeaShell": {
"find": "([^-_a-z])([\\s]*)SeaShell",
"replace": "\\1\\2#FFF5EE",
"greedy": false,
"case": false
},
"Sienna": {
"find": "([^-_a-z])([\\s]*)Sienna",
"replace": "\\1\\2#A0522D",
"greedy": false,
"case": false
},
"Silver": {
"find": "([^-_a-z])([\\s]*)Silver",
"replace": "\\1\\2#C0C0C0",
"greedy": false,
"case": false
},
"SkyBlue": {
"find": "([^-_a-z])([\\s]*)SkyBlue",
"replace": "\\1\\2#87CEEB",
"greedy": false,
"case": false
},
"SlateBlue": {
"find": "([^-_a-z])([\\s]*)SlateBlue",
"replace": "\\1\\2#6A5ACD",
"greedy": false,
"case": false
},
"SlateGray": {
"find": "([^-_a-z])([\\s]*)SlateGray",
"replace": "\\1\\2#708090",
"greedy": false,
"case": false
},
"SlateGrey": {
"find": "([^-_a-z])([\\s]*)SlateGrey",
"replace": "\\1\\2#708090",
"greedy": false,
"case": false
},
"Snow": {
"find": "([^-_a-z])([\\s]*)Snow",
"replace": "\\1\\2#FFFAFA",
"greedy": false,
"case": false
},
"SpringGreen": {
"find": "([^-_a-z])([\\s]*)SpringGreen",
"replace": "\\1\\2#00FF7F",
"greedy": false,
"case": false
},
"SteelBlue": {
"find": "([^-_a-z])([\\s]*)SteelBlue",
"replace": "\\1\\2#4682B4",
"greedy": false,
"case": false
},
"Tan": {
"find": "([^-_a-z])([\\s]*)Tan",
"replace": "\\1\\2#D2B48C",
"greedy": false,
"case": false
},
"Teal": {
"find": "([^-_a-z])([\\s]*)Teal",
"replace": "\\1\\2#008080",
"greedy": false,
"case": false
},
"Thistle": {
"find": "([^-_a-z])([\\s]*)Thistle",
"replace": "\\1\\2#D8BFD8",
"greedy": false,
"case": false
},
"Tomato": {
"find": "([^-_a-z])([\\s]*)Tomato",
"replace": "\\1\\2#FF6347",
"greedy": false,
"case": false
},
"Turquoise": {
"find": "([^-_a-z])([\\s]*)Turquoise",
"replace": "\\1\\2#40E0D0",
"greedy": false,
"case": false
},
"Violet": {
"find": "([^-_a-z])([\\s]*)Violet",
"replace": "\\1\\2#EE82EE",
"greedy": false,
"case": false
},
"Wheat": {
"find": "([^-_a-z])([\\s]*)Wheat",
"replace": "\\1\\2#F5DEB3",
"greedy": false,
"case": false
},
"White": {
"find": "([^-_a-z])([\\s]*)White",
"replace": "\\1\\2#FFFFFF",
"greedy": false,
"case": false
},
"WhiteSmoke": {
"find": "([^-_a-z])([\\s]*)WhiteSmoke",
"replace": "\\1\\2#F5F5F5",
"greedy": false,
"case": false
},
"Yellow": {
"find": "([^-_a-z])([\\s]*)Yellow",
"replace": "\\1\\2#FFFF00",
"greedy": false,
"case": false
},
"YellowGreen": {
"find": "([^-_a-z])([\\s]*)YellowGreen",
"replace": "\\1\\2#9ACD32",
"greedy": false,
"case": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment