New answers tagged color-theory
The simple solution is to subtract each RGB value from 255. If you want to try more advanced solutions, you could look at the color schemer.
There is a wealth of tools out there. If you use Illustrator, it has a colour guide option (other SW might have similar options): Of online tools there are loads. Here are but a few: Adobe Kuler Color scheme designer mudcube Color Hexa You can also find user-created colour schemes: Color lovers
If you want a quick and easy solution, you can use http://colorschemedesigner.com and select "triad" option for two complimentary colours. Other options are available depending on how many subsequent colours you need.
Try playing around with the HSB colour selection model. In HSB (Hue, Saturation, Brightness), Hues (H) are laid out in a circular fashion, with their H values varying between 0 degrees (red) and 360 degrees (red again). If you want a colour's complementary hue, sample its H value and add 180 degrees to it (or subtract 180, whichever gives a valuw between 0 ...
I'm actually working with (disturbingly) similar backgrounds, and it took me a good amount of time to find values that worked with both. I did it manually, to be honest. There are more or less automated ways to pick colors, but they won't guarantee the colors actually work aesthetically. There are also ways to check the ones you have chosen have enough ...
The key in these circumstances is the "value", ie the light/dark level. You want colors that have sufficient separation in value. I strive for 50% difference or better for anything that should be easily read. For reference, in grey tones that's #808080 text on an #fff ground. You can check a given color's value by plugging it into a tool that allows you to ...
Another alternative I found a couple of days ago and made the whole process of finding contrast ratios REALLY easy: http://leaverou.github.io/contrast-ratio/ You can copy-past HEX values in the boxes and it automatically gives you a number. If you try with white and black plus the color you should have a result in less than 5 seconds :)
I have used a javscript based color picker on some of my sites, and the font color within the input box changes based on the values the picker chooses... The code for the script shows a specific location for the colorization of the input box the script is attached to. Within that code you can see the formula: 0.213 * this.rgb[ 0 ] + 0.715 * this.rgb[ 1 ...
See this answer to a similar question: See How to calculate the best type colour for a random background colour? Applying this theory, For you to figure out dynamically, you could use RGB values or hex colors. In hex the color codes go from 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. So #751 or #745814 is 7 or in red, 5 in green and 1 in blue (RGB). Every second ...
I would say if your background color is constantly changing, that indeed going with a neutral color would be best. Depending on how bright or dark the background becomes should determine, whether you use white or black. Pick a middle ground between all of the background colors and scale your colors from darkest to lightest. Then with the darker backgrounds, ...
Top 50 recent answers are included