COLOR #120A51

HEX: #120A51
RGB: (18,10,81)

Color info

#120A51 contains mainly blue color. Web safe color of #120A51 is #000066 (or #006).

RGB color model

#120A51 color RGB value is (18,10,81).

  • red value is 18;
  • green value is 10;
  • blue value is 81.
RGB:
(18,10,81)
(7%,4%,32%)

RGB channels and saturation

R 18 of 255 = 7%
G 10 of 255 = 4%
B 81 of 255 = 32%

18
10
81

R + G + B ~ 14%. #120A51 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 10 + 81 = 109 (100%)
R 18 of 109 ~ 16.51%
G 10 of 109 ~ 9.17%
B 81 of 109 ~ 74.31%

%16.51
%74.31

CMYK color model

#120A51 color CMYK value is (78,88,0,68).

  • cyan value is 77.78%
  • magenta value is 87.65%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(78,88,0,68)
C78M88Y0K68 
(78%,88%,0%,68%)
(0.78/0.88/0.00/0.68)	

CMYK percentages

%77.78
%87.65
%0
%68.24

Codes

Color #120A51 in popluar color models

120A51
RGB181081
HSL247°78.02%17.84%
HSB/HSV247°87.65%31.76%
CMYK77.78%87.65%0.00%
68.24%

Color #120A51 in popluar number systems.

HEX120A51
Decimal181081
Binary1001010101010001
Octal2212121

Shades and tints

Shades of #120A51

#120A51
(18,10,81)
#110A4A
(17,10,74)
#100A43
(16,10,67)
#0F0A3C
(15,10,60)
#0E0A35
(14,10,53)
#0D0A2E
(13,10,46)
#0C0A27
(12,10,39)
#0B0A20
(11,10,32)
#0A0A19
(10,10,25)
#090A12
(9,10,18)
#080A0B
(8,10,11)
#000000
(0,0,0)

Tints of #120A51

#120A51
(18,10,81)
#272060
(39,32,96)
#3C366F
(60,54,111)
#514C7E
(81,76,126)
#66628D
(102,98,141)
#7B789C
(123,120,156)
#908EAB
(144,142,171)
#A5A4BA
(165,164,186)
#BABAC9
(186,186,201)
#CFD0D8
(207,208,216)
#E4E6E7
(228,230,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #120A51 color. Also use rgb(18,10,81) instead hex code.

Text Font Color

.myTextColor { color: #120A51; }

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

This text font color is #120A51.


Background Color

.myBgColor { background-color: #120A51; }

<div style="background-color:#120A51">Inner text</div>

This div background color is #120A51.


Border color

.myBorderColor { border: 1px solid #120A51; }

<div style="border:3px solid #120A51">Div</div>

This div border color is #120A51.


Opacity

.myOpacity80 { color: #120A51; opacity: 0.8; }

<p style="color:#120A51;opacity:0.8;">80%</p>

Text with #120A51 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 #120A51;}

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

This text has shadow with #120A51 color.

.textShadow {text-shadow: 3px 3px 1px #120A51, 3px 3px 1px red;}

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

This text has shadow with #120A51 primary color and red secondary color.


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

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

This text has shadow with #120A51 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120A51 on black background.


Color preview on white background

This text has color #120A51 on white background.



Black color preview on #120A51 background

This text has black color on #120A51 background.


White color preview on #120A51 background

This text has white color on #120A51 background.