Top "Colors" questions

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

Set a:hover based on class

I have the following HTML: <div class="menu"> <a class="main-nav-item" href="home">home</a&…

html css colors hover anchor
Change background colour for Visual Studio

How can we change the background colour in Visual Studio?

visual-studio colors text-editor
How to change color of the back arrow in the new material theme?

I've updated my SDK to API 21 and now the back/up icon is a black arrow pointing to the left. …

java android user-interface colors android-styles
stdlib and colored output in C

I am making a simple application which requires colored output. How can I make my output colored like emacs and …

c colors stdio libc
How do I write a RGB color value in JavaScript?

I am trying to change the color of the function swapFE() below and I can't figure out how to write …

javascript function coding-style colors rgb
Color different parts of a RichTextBox string

I'm trying to color parts of a string to be appended to a RichTextBox. I have a string built from …

c# string winforms colors richtextbox
navbar color in Twitter Bootstrap

How can I change the background color of the navbar of the Twitter Bootstrap 2.0.2? How can I change color of …

colors twitter-bootstrap navbar
How to get hex color value rather than RGB value?

Using the following jQuery will get the RGB value of an element's background color: $('#selector').css('backgroundColor'); Is there …

javascript jquery colors hex rgb
Change DataGrid cell colour based on values

I have got a WPF datagrid and I want diffrent cell colours according to values. I have got below code …

c# wpf xaml colors datagrid
How to color the Git console?

I recently saw that the git console in Windows is colored, e.g. Green for additions, red for deletions, etc. …

git colors console