CSS colors for PHP syntax highlighting

There are only five CSS colors available for PHP syntax highlighting. We can group them in five different classes:

.comment {
 color: #f90;
}

.default {
 color: #00c;
}

.html {
 color: #000;
}

.keyword {
 color: #060;
}

.string {
 color: #c00;
}

These are the standard colors taken from the php.ini file. Of course you can add more colors, if you wish.

Leave a Reply

Note: Only a member of this blog may post a comment.