Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Arbitrary colors in style-code
Greetings! I have a very small request...
Right now, there are a limited amount of [b][red]c[/red][blue]o[/blue][green]l[/green][purple]o[/purple][grey]r[/grey]s[/b] that we can use to markup posts. In addition to these, I would like to see arbitrary RGB values allowed - something like:
[ff0000]this text would be red[/ff0000]
[ff0000]this text would be red[/color]
This would be very easy to implement, taking 15 minutes to your time.
I have written a script that automatically syntax highlights over 300 languages and file types for this message board. However, the full spectrum of colors must be mapped down to the limited colors available on this board, so the results are sometimes very ugly. The script would be far more useful and powerful if this mapping was not necessary, if arbitrary RGB values were accepted.
A secondary, but less important request: it would be nice to be able to set the background color of CODE blocks.