You can use the 256colors2.pl script on Rob Meerman to make sure your terminal correctly controls 256 colors. Then choose the right combination of RGB values ββto get the right shade of green.
Based on his script, it looks like the color numbers are essentially an offset of the base scheme 6:
COLOR = r*6^2 + g*6 + b) + 16
:
\x1b[38;5;${COLORNUM}m
, script, (perl), O :
for ($green = 0; $green < 6; $green++) {
for ($red = 0; $red < 6; $red++) {
for ($blue = 0; $blue < 6; $blue++) {
$color = 16 + ($red * 36) + ($green * 6) + $blue;
print "\\x1b[38;5;${color}m :\x1b[38;5;${color}m O\x1b[0m ";
print "\n" if ($blue == 2 || $blue == 5);
}
}
print "\n";
}
:

: Charles, , , , , . , , , 256 ().