Top "Colors" questions

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

Android lollipop change navigation bar color

In my app I need to change the bottom navigation bar color. I watched many post but cant find with …

android colors android-5.0-lollipop navigationbar
How to convert hex to rgb using Java?

How can I convert hex color to RGB code in Java? Mostly in Google, samples are on how to convert …

java colors
Algorithm to randomly generate an aesthetically-pleasing color palette

I'm looking for a simple algorithm to generate a large number of random, aesthetically pleasing colors. So no crazy neon …

algorithm colors
How to change default text color using custom theme?

What I'm trying should be quite easy with themes, but I can't find out how to: I want all text …

android colors android-theme
How to change link color (Bootstrap)

<div class="collapse navbar-collapse"> <ul class="nav pull-right"> <li class="active"><a href="#"&…

twitter-bootstrap colors hyperlink navbar
How to automatically generate N "distinct" colors?

I wrote the two methods below to automatically select N distinct colors. It works by defining a piecewise linear function …

java colors color-scheme color-picker
How can I invert color using CSS?

HTML <div> <p>inverted color</p> </div> CSS div { background-color: #f00; } p { …

css colors
Using colors with printf

When written like this, it outputs text in blue: printf "\e[1;34mThis is a blue text.\e[0m" But I …

linux bash colors printf
How to compare two colors for similarity/difference

I want to design a program that can help me assess between 5 pre-defined colors which one is more similar to …

algorithm colors compare rgb hsv
ng-change not working on a text input

I am new to angular js. In my code there is color picker initialized from a text field. User changes …

angularjs colors angularjs-directive angularjs-ng-change