Online Color Picker

15th February 2015
JQuery plugin by eyecon.ro

Choose text and background colors, especially while seeing how they work together.
 
Use the color configuration boxes below to change the settings of this text. You can either enter values oder click and drag on the color area. To change the base color of the color area, slide up or down on the colorfull bar in the middle.

Text color

Background color

CSS

color: #000000;
background-color: #ffffff;

color: rgba(255,255,255,1.0);
background-color: rgba(255,255,255,1.0);

Xcode, Objective-C

.textColor =
[UIColor colorWithRed:1.0000 green:1.0000 blue:1.0000 alpha:1.0];
.backgroundColor =
[UIColor colorWithRed:0.0000 green:0.0000 blue:0.0000 alpha:1.0];

Xcode, Swift

.textColor =
UIColor.init(red: 1.0000, green: 1.0000, blue: 1.0000, alpha: 1)
.backgroundColor =
UIColor.init(red: 0.0000, green:0.0000, blue:0.0000, alpha:1.0)

Java SWT

Color txtColor = new Color (Display.getCurrent(), 255, 255, 255);
Color bgColor = new Color (Display.getCurrent(), 0, 0, 0);

Java AWT

Color txtColor = new Color (255, 255, 255);
Color bgColor = new Color (0, 0, 0);