:
logo qtransform

  to  




#12042A color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #12042A
#12042A

   In a RGB color space, hex #12042A is composed of 7% red, 2% green and 16% blue.
RGB color code is composed of a hexadecimal 12 red (18/255), a 04 green (4/255) and a 2A blue component (42/255). The decimal RGB color code is rgb(18,4,42)
In CMYK color space, it is composed of 57% cyan, 90% magenta, 0% yellow and 84% black.
It has a hue angle of 262.11o degrees, a saturation of 83% and a lightness of 9%.
Closest websafe color is: #000033 rgb (0, 0, 51).
twitter  facebook  whatsapp


Color conversion




#12042A
rgb(18,4,42)
=7%
from 255
2%
from 255
16%
from 255
=57
from 100
90
from 100
0
from 100
84
from 100
R: 18
red
G: 4
green
B: 42
blue
C: 57
cyan
M: 90
magenta
Y: 0
yellow
K: 84
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #12042A has RGB values of R:18, G:4, B:42 and CMYK values of C:57, M:90, Y:0, K:84. Its decimal value is 1180714.Binary code is 100100000010000101010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color12042A #12042A
RGB decimal18, 4, 42 rgb(18, 4, 42)
RGB %7, 2, 16 rgb(7%, 2%, 16%)
RGB Adobe22, 12, 45
CMYK %57, 90, 0, 84 57%, 90%, 0%, 84%
HSL262.11o, 83, 9 hsl(262.11o, 83%, 9%)
HSV (HSB)262o, 90%, 16% hsv(262o, 90%, 16%)
Web Safe color#000033 rgb (0, 0, 51)
XYZ0.711, 0.383 2.227
xyY0.21, 0.12, 0.38
Hunter-Lab6.19, 10.17, -18.01
CMY93%, 98%, 84%
Lab3.27, 11.82, -21.32
Binary color
12 04 2A
10010 100 101010

Shades and tints of #12042A


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #030309 is the darkest color, and: #D0CED5 is the lightest one.

Tint color variation #12042A


Shade color variation


Tones of #12042A
A tone is produced by adding gray to any pure hue. In this case, #1D1033 is the less saturated color, and #5A5463 is the most saturated one.


Alternatives to #12042A


Below, you can see some colors close to #12042A. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #12042A


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#12042A;">Text here</font>

<div style="background-color:#12042A;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#12042A;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#12042A;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #12042A
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #12042A;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #12042A;



Box border html code Text shadow with RGB values for color #12042A
box border html code for color #12042A

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #12042A;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(18, 4, 42, 1.4);



Pre-formatted code 12042A code for script / programming
HTML, CSS: = #12042A; rgb(18, 4, 42)
Java: = new Color(18, 4, 42)
.NET: = Color.FromArgb (18, 4, 42);
Xojo: = rgb (18, 4, 42, 0);
openGL: = glColor3f (0.07f, 0.02f, 0.16f);
Swift: = UIColor(red:0.07, green:0.02, blue:0.16, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.07 green:0.02 blue:0.16 alpha:1.00000];


Color schemes with #12042A


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 90% has a #12042A saturation. Adding 90% + 10% = 100% saturation for our new color #010003. Decreasing 90% - 10% = 80% saturation for other monochromatic color #27104F.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #12042A has a 262o angle. Adding 262o + 180o = 82oo for our new complementary color #1B2904.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #12042A has a 262o angle. Adding 262o + 180o+30o = 112o for our first complementary color #092904. Decreasing 262o + 180o-30o = 52o for the second complementary color #292404.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.