What are all the in-built colours?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By NerdKnight

I am making a game and want to control colour from the editor. I have a custom colour option exported, but I also want to be able to pick from the in-built colours in a drop-down menu. Does anyone have all of the colours in a format similar to
"aliceblue","antiquewhite",...
that I can use for my
export(String, "aliceblue", "antiquewhite", "Custom") var ColourPreset
code?

:bust_in_silhouette: Reply From: Wakatta

In the Script Editor at the top right-hand corner press search and type color.
All colors will be listed there

Or observe this link

I am aware of that documentation. However, it’s not the right format. I was wondering if there was any other option other than just copying them all out by hand.

NerdKnight | 2021-06-06 11:30

Rather than a drop-down menu there exists a color picker node you can use with your export value

Wakatta | 2021-06-06 11:36

You can easily copy the entire the list, paste it into a text editor, and then use ctrl-f and regexes to remove all the stuff you don’t want.

exuin | 2021-06-06 13:49

Here I did it for you

“aliceblue”, “antiquewhite”, “aqua”, “aquamarine”, “azure”, “beige”, “bisque”, “black”, “blanchedalmond”, “blue”, “blueviolet”, “brown”, “burlywood”, “cadetblue”, “chartreuse”, “chocolate”, “coral”, “cornflower”, “cornsilk”, “crimson”, “cyan”, “darkblue”, “darkcyan”, “darkgoldenrod”, “darkgray”, “darkgreen”, “darkkhaki”, “darkmagenta”, “darkolivegreen”, “darkorange”, “darkorchid”, “darkred”, “darksalmon”, “darkseagreen”, “darkslateblue”, “darkslategray”, “darkturquoise”, “darkviolet”, “deeppink”, “deepskyblue”, “dimgray”, “dodgerblue”, “firebrick”, “floralwhite”, “forestgreen”, “fuchsia”, “gainsboro”, “ghostwhite”, “gold”, “goldenrod”, “gray”, “green”, “greenyellow”, “honeydew”, “hotpink”, “indianred”, “indigo”, “ivory”, “khaki”, “lavender”, “lavenderblush”, “lawngreen”, “lemonchiffon”, “lightblue”, “lightcoral”, “lightcyan”, “lightgoldenrod”, “lightgray”, “lightgreen”, “lightpink”, “lightsalmon”, “lightseagreen”, “lightskyblue”, “lightslategray”, “lightsteelblue”, “lightyellow”, “lime”, “limegreen”, “linen”, “magenta”, “maroon”, “mediumaquamarine”, “mediumblue”, “mediumorchid”, “mediumpurple”, “mediumseagreen”, “mediumslateblue”, “mediumspringgreen”, “mediumturquoise”, “mediumvioletred”, “midnightblue”, “mintcream”, “mistyrose”, “moccasin”, “navajowhite”, “navyblue”, “oldlace”, “olive”, “olivedrab”, “orange”, “orangered”, “orchid”, “palegoldenrod”, “palegreen”, “paleturquoise”, “palevioletred”, “papayawhip”, “peachpuff”, “peru”, “pink”, “plum”, “powderblue”, “purple”, “rebeccapurple”, “red”, “rosybrown”, “royalblue”, “saddlebrown”, “salmon”, “sandybrown”, “seagreen”, “seashell”, “sienna”, “silver”, “skyblue”, “slateblue”, “slategray”, “snow”, “springgreen”, “steelblue”, “tan”, “teal”, “thistle”, “tomato”, “transparent”, “turquoise”, “violet”, “webgray”, “webgreen”, “webmaroon”, “webpurple”, “wheat”, “white”, “whitesmoke”, “yellow”, “yellowgreen”

exuin | 2021-06-06 13:52

Well done sir

Wakatta | 2021-06-06 23:00

These colors are taken from the web’s original 216 color palette. These are not particularly “pretty” by today’s standards, so I’d recommend you to use a custom color palette for the purposes of player customization. This one can work quite well: https://tailwindcolor.com/

Calinou | 2021-06-10 01:14

:bust_in_silhouette: Reply From: NerdKnight

@exuin compiled it, much thanks to them!

“aliceblue”, “antiquewhite”, “aqua”, “aquamarine”, “azure”, “beige”, “bisque”, “black”, “blanchedalmond”, “blue”, “blueviolet”, “brown”, “burlywood”, “cadetblue”, “chartreuse”, “chocolate”, “coral”, “cornflower”, “cornsilk”, “crimson”, “cyan”, “darkblue”, “darkcyan”, “darkgoldenrod”, “darkgray”, “darkgreen”, “darkkhaki”, “darkmagenta”, “darkolivegreen”, “darkorange”, “darkorchid”, “darkred”, “darksalmon”, “darkseagreen”, “darkslateblue”, “darkslategray”, “darkturquoise”, “darkviolet”, “deeppink”, “deepskyblue”, “dimgray”, “dodgerblue”, “firebrick”, “floralwhite”, “forestgreen”, “fuchsia”, “gainsboro”, “ghostwhite”, “gold”, “goldenrod”, “gray”, “green”, “greenyellow”, “honeydew”, “hotpink”, “indianred”, “indigo”, “ivory”, “khaki”, “lavender”, “lavenderblush”, “lawngreen”, “lemonchiffon”, “lightblue”, “lightcoral”, “lightcyan”, “lightgoldenrod”, “lightgray”, “lightgreen”, “lightpink”, “lightsalmon”, “lightseagreen”, “lightskyblue”, “lightslategray”, “lightsteelblue”, “lightyellow”, “lime”, “limegreen”, “linen”, “magenta”, “maroon”, “mediumaquamarine”, “mediumblue”, “mediumorchid”, “mediumpurple”, “mediumseagreen”, “mediumslateblue”, “mediumspringgreen”, “mediumturquoise”, “mediumvioletred”, “midnightblue”, “mintcream”, “mistyrose”, “moccasin”, “navajowhite”, “navyblue”, “oldlace”, “olive”, “olivedrab”, “orange”, “orangered”, “orchid”, “palegoldenrod”, “palegreen”, “paleturquoise”, “palevioletred”, “papayawhip”, “peachpuff”, “peru”, “pink”, “plum”, “powderblue”, “purple”, “rebeccapurple”, “red”, “rosybrown”, “royalblue”, “saddlebrown”, “salmon”, “sandybrown”, “seagreen”, “seashell”, “sienna”, “silver”, “skyblue”, “slateblue”, “slategray”, “snow”, “springgreen”, “steelblue”, “tan”, “teal”, “thistle”, “tomato”, “transparent”, “turquoise”, “violet”, “webgray”, “webgreen”, “webmaroon”, “webpurple”, “wheat”, “white”, “whitesmoke”, “yellow”, “yellowgreen”

:bust_in_silhouette: Reply From: Brickgames

Here’s an array of all the colors in godot:
var colors = [
Color.aliceblue,
Color.antiquewhite,
Color.aqua,
Color.aquamarine,
Color.azure,
Color.beige,
Color.bisque,
Color.black,
Color.blanchedalmond,
Color.blue,
Color.blueviolet,
Color.brown,
Color.burlywood,
Color.cadetblue,
Color.chartreuse,
Color.chocolate,
Color.coral,
Color.cornflower,
Color.cornsilk,
Color.crimson,
Color.cyan,
Color.darkblue,
Color.darkcyan,
Color.darkgoldenrod,
Color.darkgray,
Color.darkgreen,
Color.darkkhaki,
Color.darkmagenta,
Color.darkolivegreen,
Color.darkorange,
Color.darkorchid,
Color.darkred,
Color.darksalmon,
Color.darkseagreen,
Color.darkslateblue,
Color.darkslategray,
Color.darkturquoise,
Color.darkviolet,
Color.deeppink,
Color.deepskyblue,
Color.dimgray,
Color.dodgerblue,
Color.firebrick,
Color.floralwhite,
Color.forestgreen,
Color.fuchsia,
Color.gainsboro,
Color.ghostwhite,
Color.gold,
Color.goldenrod,
Color.gray,
Color.green,
Color.greenyellow,
Color.honeydew,
Color.hotpink,
Color.indianred,
Color.indigo,
Color.ivory,
Color.khaki,
Color.lavender,
Color.lavenderblush,
Color.lawngreen,
Color.lemonchiffon,
Color.lightblue,
Color.lightcoral,
Color.lightcyan,
Color.lightgoldenrod,
Color.lightgray,
Color.lightgreen,
Color.lightpink,
Color.lightsalmon,
Color.lightseagreen,
Color.lightskyblue,
Color.lightslategray,
Color.lightsteelblue,
Color.lightyellow,
Color.lime,
Color.limegreen,
Color.linen,
Color.magenta,
Color.maroon,
Color.mediumaquamarine,
Color.mediumblue,
Color.mediumorchid,
Color.mediumpurple,
Color.mediumseagreen,
Color.mediumslateblue,
Color.mediumspringgreen,
Color.mediumturquoise,
Color.mediumvioletred,
Color.midnightblue,
Color.mintcream,
Color.mistyrose,
Color.moccasin,
Color.navajowhite,
Color.navyblue,
Color.oldlace,
Color.olive,
Color.olivedrab,
Color.orange,
Color.orangered,
Color.orchid,
Color.palegoldenrod,
Color.palegreen,
Color.paleturquoise,
Color.palevioletred,
Color.papayawhip,
Color.peachpuff,
Color.peru,
Color.pink,
Color.plum,
Color.powderblue,
Color.purple,
Color.rebeccapurple,
Color.red,
Color.rosybrown,
Color.royalblue,
Color.saddlebrown,
Color.salmon,
Color.sandybrown,
Color.seagreen,
Color.seashell,
Color.sienna,
Color.silver,
Color.skyblue,
Color.slateblue,
Color.slategray,
Color.snow,
Color.springgreen,
Color.steelblue,
Color.tan,
Color.teal,
Color.thistle,
Color.tomato,
Color.turquoise,
Color.violet,
Color.webgray,
Color.webgreen,
Color.webmaroon,
Color.webpurple,
Color.wheat,
Color.white,
Color.whitesmoke,
Color.yellow,
Color.yellowgreen,
]