Interesting. I got it to imagine it was a human drawing a self portrait (via SVG code), and then to add colour (and a few extra bits like a speech bubble where I told it to write what it wanted to say) and it came up with this.
To be fair, when it added the colour, #ChatGPT did also say:
"In this example, I added the fill="#ffc0cb" attribute to theĀ element that represents the head of the self-portrait, giving it a pink color. You can of course use any other color you like by replacing the hexadecimal color code #ffc0cb with a different one. Some common color codes include:
#000000 (black)
#ffffff (white)
#0000ff (blue)
#00ff00 (green)
#ff0000 (red)
#ffff00 (yellow)
You can also use the RGB (red, green, blue) or HSL (hue, saturation, lightness) color models to specify colors in a more intuitive way. For example, the pink color used in the example above can also be written as rgb(255,192,203) or hsl(350,100%,88%)."
But hmmmm, interesting default choice!
It also helpfully provided a link to https://www.w3schools.com/graphics/tryit.asp?filename=trysvg_polygon where the code can be tested
#chatgpt #ffc0cb #FFFFFF #0000ff #00ff00 #ff0000 #ffff00
@hybridhavoc Changing dark mode to pure black (#000000) would allow more middle ground between dark and light mode (#FFFFFF), allowing some color contrasts that pass WCAG standards on both, but there are also some considerations for text readability on black (Iris dilation, causing different visual affects that most common typefaces aren't designed for, eyes train to read in like environments, and most human eyes are trained to read on a lighter background, etc.)
random thought... ANSI color codes are a PITA. Hex colors are pretty universal at this point. I'm wondering if there wouldn't be value in a wee executable that took in something like "{{#FFFFFF;#000000}}white on black{{/#FFFFFF;#000000}}" and returned "\e[37;40mwhite on black\e[0m" Or maybe '<ansi-style color="#FFFFFF" background-color="#000000" weight="bold">bold white on black</ansi-style>'
Anyway. some easy template that converted to escape codes.