COLOR #12062A

HEX: #12062A RGB: (18,6,42)

Color info

#12062A contains red, green and blue colors in about the same proportion. Web safe color of #12062A is #000033 (or #003).

RGB color model

#12062A color RGB value is (18,6,42).

RGB: (18,6,42) (7%, 2%, 16%)

RGB channels and saturation

R 18 of 255 = 7%
G 6 of 255 = 2%
B 42 of 255 = 16%

18
6
42

R + G + B ~ 8%. #12062A is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 6 + 42 = 66 (100%)
R 18 of 66 ~ 27.27%
G 6 of 66 ~ 9.09%
B 42 of 66 ~ 63.64'%

%27.27
%63.64

CMYK color model

#12062A color CMYK value is (57,86,0,84).

  • cyan value is 57.14%
  • magenta value is 85.71%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (57,86,0,84)
C57M86Y0K84 (57%, 86%, 0%, 84%)
(0.57 / 0.86 / 0.00 / 0.84)

CMYK percentages

%57.14
%85.71
%0
%83.53

Codes

Color #12062A in popluar color models

12 06 2A
RGB 18 6 42
HSL 260° 75.00% 9.41%
HSB/HSV 260° 85.71% 16.47%
CMYK 57.14% 85.71% 0.00%
83.53%

Color #12062A in popluar number systems.

HEX 12 06 2A
Decimal 18 6 42
Binary 10010 110 101010
Octal 22 6 52

Shades and tints

Shades of #12062A

#12062A
(18,6,42)
#110627
(17,6,39)
#100624
(16,6,36)
#0F0621
(15,6,33)
#0E061E
(14,6,30)
#0D061B
(13,6,27)
#0C0618
(12,6,24)
#0B0615
(11,6,21)
#0A0612
(10,6,18)
#09060F
(9,6,15)
#08060C
(8,6,12)
#000000
(0,0,0)

Tints of #12062A

#12062A
(18,6,42)
#271C3D
(39,28,61)
#3C3250
(60,50,80)
#514863
(81,72,99)
#665E76
(102,94,118)
#7B7489
(123,116,137)
#908A9C
(144,138,156)
#A5A0AF
(165,160,175)
#BAB6C2
(186,182,194)
#CFCCD5
(207,204,213)
#E4E2E8
(228,226,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12062A color. Also use rgb(18,6,42) instead hex code.

Text Font Color

.myTextColor { color: #12062A; }

<p style="color:#12062A">This sample text font color is #12062A.</p>

This text font color is #12062A.

Background Color

.myBgColor { background-color: #12062A; }

<div style="background-color:#12062A">Inner text</div>

This div background color is #12062A.

Border color

.myBorderColor { border: 1px solid #12062A; }

<div style="border:3px solid #12062A">Div</div>

This div border color is #12062A.

Opacity

.myOpacity80 { color: #12062A; opacity: 0.8; }

<p style="color:#12062A;opacity:0.8;">80%</p>

Text with #12062A color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #12062A;}

<p style="text-shadow: 3px 3px 1px #12062A">Text here.</p>

This text has shadow with #12062A color.


.textShadow {text-shadow: 3px 3px 1px #12062A', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #12062A, 5px 5px 20px red">Text here.</p>

This text has shadow with #12062A primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#12062A, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#12062A, Direction=45, Strength=4)">Text</p>

This text has shadow with #12062A and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #12062A;
-webkit-box-shadow: 1px 1px 3px 2px #12062A;
box-shadow: 1px 1px 3px 2px #12062A;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #12062A; -webkit-box-shadow: 1px 1px 3px 2px #12062A; box-shadow:1px 1px 3px 2px #12062A;">
Div content here
</div>

This div box has shadow with color #12062A.

Preview

Color preview on black background

This text has color #12062A on black background.


Color preview on white background

This text has color #12062A on white background.


Black color preview on #12062A background

This text has black color on #12062A background.


White color preview on #12062A background

This text has white color on #12062A background.


Related colors

Complementary color

Complementary color for #hex is #EDF9D5.


I love getcolorcode.com

Triadic colors

1 #2A1206 and #062A12 with #12062A are triadic colors.

2 #2A0612 and #06122A with #12062A are triadic colors.