From: Mitch S. <mit...@be...> - 2010-09-30 14:50:13
|
On 09/30/2010 02:25 AM, Anja Friedrich wrote: > By the way, where did you get the code for the colours in the css file > from? Wikipedia is using different ones... and can JBrowse display any > colour? As I have to display 12 small motifs I'm running out of colours... JBrowse (technically, the web browser) can display any color, yes. Colors in CSS are hexadecimal numbers; the first third of the digits specify the amount of red, the second third specify the amount of green, and the last third specify the amount of blue. So you could specify, say, red with #ff0000, green with #00ff00, and blue with #0000ff. Or, say, a dark red with #550000. Or whatever you wanted. Most drawing programs will have a tool you can use to choose colors, or you could use something like this: http://www.colorpicker.com/ If you run out of colors, you can also use an image to differentiate different motifs; look at the feature, feature2, feature3, feature4, and feature5 CSS classes. Mitch |