COLOR #12001F

HEX: #12001F
RGB: (18,0,31)

Color info

#12001F contains only red and blue colors. Web safe color of #12001F is #000033 (or #003).

RGB color model

#12001F color RGB value is (18,0,31).

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

RGB channels and saturation

R 18 of 255 = 7%
G 0 of 255 = 0%
B 31 of 255 = 12%

18
0
31

R + G + B ~ 6%. #12001F is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 0 + 31 = 49 (100%)
R 18 of 49 ~ 36.73%
G 0 of 49 ~ 0%
B 31 of 49 ~ 63.27%

%36.73
%63.27

CMYK color model

#12001F color CMYK value is (42,100,0,88).

  • cyan value is 41.94%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(42,100,0,88)
C42M100Y0K88 
(42%,100%,0%,88%)
(0.42/1.00/0.00/0.88)	

CMYK percentages

%41.94
%100
%0
%87.84

Codes

Color #12001F in popluar color models

12001F
RGB18031
HSL275°100.00%6.08%
HSB/HSV275°100.00%12.16%
CMYK41.94%100.00%0.00%
87.84%

Color #12001F in popluar number systems.

HEX12001F
Decimal18031
Binary10010011111
Octal22037

Shades and tints

Shades of #12001F

#12001F
(18,0,31)
#11001D
(17,0,29)
#10001B
(16,0,27)
#0F0019
(15,0,25)
#0E0017
(14,0,23)
#0D0015
(13,0,21)
#0C0013
(12,0,19)
#0B0011
(11,0,17)
#0A000F
(10,0,15)
#09000D
(9,0,13)
#08000B
(8,0,11)
#000000
(0,0,0)

Tints of #12001F

#12001F
(18,0,31)
#271733
(39,23,51)
#3C2E47
(60,46,71)
#51455B
(81,69,91)
#665C6F
(102,92,111)
#7B7383
(123,115,131)
#908A97
(144,138,151)
#A5A1AB
(165,161,171)
#BAB8BF
(186,184,191)
#CFCFD3
(207,207,211)
#E4E6E7
(228,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #12001F; }

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

This text font color is #12001F.


Background Color

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

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

This div background color is #12001F.


Border color

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

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

This div border color is #12001F.


Opacity

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

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

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

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

This text has shadow with #12001F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12001F on black background.


Color preview on white background

This text has color #12001F on white background.



Black color preview on #12001F background

This text has black color on #12001F background.


White color preview on #12001F background

This text has white color on #12001F background.