COLOR #12004F

HEX: #12004F
RGB: (18,0,79)

Color info

#12004F contains mainly blue color. Web safe color of #12004F is #000066 (or #006).

RGB color model

#12004F color RGB value is (18,0,79).

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

RGB channels and saturation

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

18
0
79

R + G + B ~ 13%. #12004F is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 0 + 79 = 97 (100%)
R 18 of 97 ~ 18.56%
G 0 of 97 ~ 0%
B 79 of 97 ~ 81.44%

%18.56
%81.44

CMYK color model

#12004F color CMYK value is (77,100,0,69).

  • cyan value is 77.22%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(77,100,0,69)
C77M100Y0K69 
(77%,100%,0%,69%)
(0.77/1.00/0.00/0.69)	

CMYK percentages

%77.22
%100
%0
%69.02

Codes

Color #12004F in popluar color models

12004F
RGB18079
HSL254°100.00%15.49%
HSB/HSV254°100.00%30.98%
CMYK77.22%100.00%0.00%
69.02%

Color #12004F in popluar number systems.

HEX12004F
Decimal18079
Binary1001001001111
Octal220117

Shades and tints

Shades of #12004F

#12004F
(18,0,79)
#110048
(17,0,72)
#100041
(16,0,65)
#0F003A
(15,0,58)
#0E0033
(14,0,51)
#0D002C
(13,0,44)
#0C0025
(12,0,37)
#0B001E
(11,0,30)
#0A0017
(10,0,23)
#090010
(9,0,16)
#080009
(8,0,9)
#000000
(0,0,0)

Tints of #12004F

#12004F
(18,0,79)
#27175F
(39,23,95)
#3C2E6F
(60,46,111)
#51457F
(81,69,127)
#665C8F
(102,92,143)
#7B739F
(123,115,159)
#908AAF
(144,138,175)
#A5A1BF
(165,161,191)
#BAB8CF
(186,184,207)
#CFCFDF
(207,207,223)
#E4E6EF
(228,230,239)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #12004F; }

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

This text font color is #12004F.


Background Color

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

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

This div background color is #12004F.


Border color

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

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

This div border color is #12004F.


Opacity

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

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

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

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

This text has shadow with #12004F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12004F on black background.


Color preview on white background

This text has color #12004F on white background.



Black color preview on #12004F background

This text has black color on #12004F background.


White color preview on #12004F background

This text has white color on #12004F background.