in reply to color a letter in an array

The method that you would use to output text in colour is completely dependent on how you are displaying your output. For a web page you might use CSS. For a console you might use Curses or ANSI escape codes. Without knowing how you are displaying your output, it's impossible to tell you how to do this.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg