COLOR #12012D

HEX: #12012D
RGB: (18,1,45)

Color info

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

RGB color model

#12012D color RGB value is (18,1,45).

  • red value is 18;
  • green value is 1;
  • blue value is 45.
RGB:
(18,1,45)
(7%,0%,18%)

RGB channels and saturation

R 18 of 255 = 7%
G 1 of 255 = 0%
B 45 of 255 = 18%

18
1
45

R + G + B ~ 8%. #12012D is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 1 + 45 = 64 (100%)
R 18 of 64 ~ 28.13%
G 1 of 64 ~ 1.56%
B 45 of 64 ~ 70.31%

%28.13
%70.31

CMYK color model

#12012D color CMYK value is (60,98,0,82).

  • cyan value is 60.00%
  • magenta value is 97.78%
  • yellow value is 0.00%
  • key color value is 82.35%
CMYK:
(60,98,0,82)
C60M98Y0K82 
(60%,98%,0%,82%)
(0.60/0.98/0.00/0.82)	

CMYK percentages

%60
%97.78
%0
%82.35

Codes

Color #12012D in popluar color models

12012D
RGB18145
HSL263°95.65%9.02%
HSB/HSV263°97.78%17.65%
CMYK60.00%97.78%0.00%
82.35%

Color #12012D in popluar number systems.

HEX12012D
Decimal18145
Binary100101101101
Octal22155

Shades and tints

Shades of #12012D

#12012D
(18,1,45)
#110129
(17,1,41)
#100125
(16,1,37)
#0F0121
(15,1,33)
#0E011D
(14,1,29)
#0D0119
(13,1,25)
#0C0115
(12,1,21)
#0B0111
(11,1,17)
#0A010D
(10,1,13)
#090109
(9,1,9)
#080105
(8,1,5)
#000000
(0,0,0)

Tints of #12012D

#12012D
(18,1,45)
#271840
(39,24,64)
#3C2F53
(60,47,83)
#514666
(81,70,102)
#665D79
(102,93,121)
#7B748C
(123,116,140)
#908B9F
(144,139,159)
#A5A2B2
(165,162,178)
#BAB9C5
(186,185,197)
#CFD0D8
(207,208,216)
#E4E7EB
(228,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12012D color. Also use rgb(18,1,45) instead hex code.

Text Font Color

.myTextColor { color: #12012D; }

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

This text font color is #12012D.


Background Color

.myBgColor { background-color: #12012D; }

<div style="background-color:#12012D">Inner text</div>

This div background color is #12012D.


Border color

.myBorderColor { border: 1px solid #12012D; }

<div style="border:3px solid #12012D">Div</div>

This div border color is #12012D.


Opacity

.myOpacity80 { color: #12012D; opacity: 0.8; }

<p style="color:#12012D;opacity:0.8;">80%</p>

Text with #12012D 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 #12012D;}

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

This text has shadow with #12012D color.

.textShadow {text-shadow: 3px 3px 1px #12012D, 3px 3px 1px red;}

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

This text has shadow with #12012D primary color and red secondary color.


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

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

This text has shadow with #12012D and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #12012D;
-webkit-box-shadow: 1px 1px 3px 2px #12012D;
box-shadow:1px 1px 3px 2px #12012D;">
Div content here</div>
This div box has shadow with color #12012D.

Preview

Color preview on black background

This text has color #12012D on black background.


Color preview on white background

This text has color #12012D on white background.



Black color preview on #12012D background

This text has black color on #12012D background.


White color preview on #12012D background

This text has white color on #12012D background.