COLOR #120A40

HEX: #120A40
RGB: (18,10,64)

Color info

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

RGB color model

#120A40 color RGB value is (18,10,64).

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

RGB channels and saturation

R 18 of 255 = 7%
G 10 of 255 = 4%
B 64 of 255 = 25%

18
10
64

R + G + B ~ 12%. #120A40 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 10 + 64 = 92 (100%)
R 18 of 92 ~ 19.57%
G 10 of 92 ~ 10.87%
B 64 of 92 ~ 69.57%

%19.57
%10.87
%69.57

CMYK color model

#120A40 color CMYK value is (72,84,0,75).

  • cyan value is 71.88%
  • magenta value is 84.38%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(72,84,0,75)
C72M84Y0K75 
(72%,84%,0%,75%)
(0.72/0.84/0.00/0.75)	

CMYK percentages

%71.88
%84.38
%0
%74.9

Codes

Color #120A40 in popluar color models

120A40
RGB181064
HSL249°72.97%14.51%
HSB/HSV249°84.38%25.10%
CMYK71.88%84.38%0.00%
74.90%

Color #120A40 in popluar number systems.

HEX120A40
Decimal181064
Binary1001010101000000
Octal2212100

Shades and tints

Shades of #120A40

#120A40
(18,10,64)
#110A3B
(17,10,59)
#100A36
(16,10,54)
#0F0A31
(15,10,49)
#0E0A2C
(14,10,44)
#0D0A27
(13,10,39)
#0C0A22
(12,10,34)
#0B0A1D
(11,10,29)
#0A0A18
(10,10,24)
#090A13
(9,10,19)
#080A0E
(8,10,14)
#000000
(0,0,0)

Tints of #120A40

#120A40
(18,10,64)
#272051
(39,32,81)
#3C3662
(60,54,98)
#514C73
(81,76,115)
#666284
(102,98,132)
#7B7895
(123,120,149)
#908EA6
(144,142,166)
#A5A4B7
(165,164,183)
#BABAC8
(186,186,200)
#CFD0D9
(207,208,217)
#E4E6EA
(228,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120A40; }

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

This text font color is #120A40.


Background Color

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

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

This div background color is #120A40.


Border color

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

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

This div border color is #120A40.


Opacity

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

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

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

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

This text has shadow with #120A40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120A40 on black background.


Color preview on white background

This text has color #120A40 on white background.



Black color preview on #120A40 background

This text has black color on #120A40 background.


White color preview on #120A40 background

This text has white color on #120A40 background.