COLOR #120A8A

HEX: #120A8A
RGB: (18,10,138)

Color info

#120A8A contains mainly blue color. Web safe color of #120A8A is #000099 (or #009).

RGB color model

#120A8A color RGB value is (18,10,138).

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

RGB channels and saturation

R 18 of 255 = 7%
G 10 of 255 = 4%
B 138 of 255 = 54%

18
10
138

R + G + B ~ 22%. #120A8A is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 10 + 138 = 166 (100%)
R 18 of 166 ~ 10.84%
G 10 of 166 ~ 6.02%
B 138 of 166 ~ 83.13%

%10.84
%83.13

CMYK color model

#120A8A color CMYK value is (87,93,0,46).

  • cyan value is 86.96%
  • magenta value is 92.75%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(87,93,0,46)
C87M93Y0K46 
(87%,93%,0%,46%)
(0.87/0.93/0.00/0.46)	

CMYK percentages

%86.96
%92.75
%0
%45.88

Codes

Color #120A8A in popluar color models

120A8A
RGB1810138
HSL244°86.49%29.02%
HSB/HSV244°92.75%54.12%
CMYK86.96%92.75%0.00%
45.88%

Color #120A8A in popluar number systems.

HEX120A8A
Decimal1810138
Binary10010101010001010
Octal2212212

Shades and tints

Shades of #120A8A

#120A8A
(18,10,138)
#110A7E
(17,10,126)
#100A72
(16,10,114)
#0F0A66
(15,10,102)
#0E0A5A
(14,10,90)
#0D0A4E
(13,10,78)
#0C0A42
(12,10,66)
#0B0A36
(11,10,54)
#0A0A2A
(10,10,42)
#090A1E
(9,10,30)
#080A12
(8,10,18)
#000000
(0,0,0)

Tints of #120A8A

#120A8A
(18,10,138)
#272094
(39,32,148)
#3C369E
(60,54,158)
#514CA8
(81,76,168)
#6662B2
(102,98,178)
#7B78BC
(123,120,188)
#908EC6
(144,142,198)
#A5A4D0
(165,164,208)
#BABADA
(186,186,218)
#CFD0E4
(207,208,228)
#E4E6EE
(228,230,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120A8A; }

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

This text font color is #120A8A.


Background Color

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

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

This div background color is #120A8A.


Border color

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

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

This div border color is #120A8A.


Opacity

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

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

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

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

This text has shadow with #120A8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120A8A on black background.


Color preview on white background

This text has color #120A8A on white background.



Black color preview on #120A8A background

This text has black color on #120A8A background.


White color preview on #120A8A background

This text has white color on #120A8A background.