COLOR #12051F

HEX: #12051F
RGB: (18,5,31)

Color info

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

RGB color model

#12051F color RGB value is (18,5,31).

  • red value is 18;
  • green value is 5;
  • blue value is 31.
RGB:
(18,5,31)
(7%,2%,12%)

RGB channels and saturation

R 18 of 255 = 7%
G 5 of 255 = 2%
B 31 of 255 = 12%

18
5
31

R + G + B ~ 7%. #12051F is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 5 + 31 = 54 (100%)
R 18 of 54 ~ 33.33%
G 5 of 54 ~ 9.26%
B 31 of 54 ~ 57.41%

%33.33
%57.41

CMYK color model

#12051F color CMYK value is (42,84,0,88).

  • cyan value is 41.94%
  • magenta value is 83.87%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(42,84,0,88)
C42M84Y0K88 
(42%,84%,0%,88%)
(0.42/0.84/0.00/0.88)	

CMYK percentages

%41.94
%83.87
%0
%87.84

Codes

Color #12051F in popluar color models

12051F
RGB18531
HSL270°72.22%7.06%
HSB/HSV270°83.87%12.16%
CMYK41.94%83.87%0.00%
87.84%

Color #12051F in popluar number systems.

HEX12051F
Decimal18531
Binary1001010111111
Octal22537

Shades and tints

Shades of #12051F

#12051F
(18,5,31)
#11051D
(17,5,29)
#10051B
(16,5,27)
#0F0519
(15,5,25)
#0E0517
(14,5,23)
#0D0515
(13,5,21)
#0C0513
(12,5,19)
#0B0511
(11,5,17)
#0A050F
(10,5,15)
#09050D
(9,5,13)
#08050B
(8,5,11)
#000000
(0,0,0)

Tints of #12051F

#12051F
(18,5,31)
#271B33
(39,27,51)
#3C3147
(60,49,71)
#51475B
(81,71,91)
#665D6F
(102,93,111)
#7B7383
(123,115,131)
#908997
(144,137,151)
#A59FAB
(165,159,171)
#BAB5BF
(186,181,191)
#CFCBD3
(207,203,211)
#E4E1E7
(228,225,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12051F color. Also use rgb(18,5,31) instead hex code.

Text Font Color

.myTextColor { color: #12051F; }

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

This text font color is #12051F.


Background Color

.myBgColor { background-color: #12051F; }

<div style="background-color:#12051F">Inner text</div>

This div background color is #12051F.


Border color

.myBorderColor { border: 1px solid #12051F; }

<div style="border:3px solid #12051F">Div</div>

This div border color is #12051F.


Opacity

.myOpacity80 { color: #12051F; opacity: 0.8; }

<p style="color:#12051F;opacity:0.8;">80%</p>

Text with #12051F 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 #12051F;}

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

This text has shadow with #12051F color.

.textShadow {text-shadow: 3px 3px 1px #12051F, 3px 3px 1px red;}

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

This text has shadow with #12051F primary color and red secondary color.


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

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

This text has shadow with #12051F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12051F on black background.


Color preview on white background

This text has color #12051F on white background.



Black color preview on #12051F background

This text has black color on #12051F background.


White color preview on #12051F background

This text has white color on #12051F background.