Top "Colors" questions

Use this tag for questions about representing or manipulating colors in a programming language.

How to generate a number of most distinctive colors in R?

I am plotting a categorical dataset and want to use distinctive colors to represent different categories. Given a number n, …

r colors palette color-palette colorbrewer
How to have multiple colors in a Windows batch file?

I was wondering if its possible to have different colored text on the same line in a Windows batch file, …

windows batch-file colors character-encoding cmd
What are the default color values for the Holo theme on Android 4.0?

Does anyone have access to a list of the default colours used in the Holo them (light and dark) on …

android colors android-4.0-ice-cream-sandwich android-theme
Change UITextField and UITextView Cursor / Caret Color

I'm wondering about changing the color of the cursor / caret in a UITextField (And UITextView if its the same answer) …

ios colors uitextfield cursor uitextview
WPF Label Foreground Color

I have 2 Labels in a StackPanel and set a Foreground color to both of them... The second one shows as …

wpf colors foreground
Set a thin border using .css() in javascript

So I am trying to get a border around buttons on my page when the user clicks them. To set …

javascript jquery colors border
Getting individual colors from a color map in matplotlib

If you have a Colormap cmap, for example: cmap = matplotlib.cm.get_cmap('Spectral') How can you get a particular …

python matplotlib colors
Android Color Picker

I am looking for a Color Picker framework which can return color HEX on selection. I have looked at this …

java android colors picker
Is it possible to write to the console in colour in .NET?

Writing a small command line tool, it would be nice to output in different colours. Is this possible?

c# .net vb.net colors
Programmatically set TextBlock Foreground Color

Is there a way to do this in Windows Phone 7? I can reference the TextBlock in my C# Code, but …

c# windows-phone-7 colors textblock