COLOR #120940

HEX: #120940 RGB: (18,9,64)

Color info

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

RGB color model

#120940 color RGB value is (18,9,64).

RGB: (18,9,64) (7%, 4%, 25%)

RGB channels and saturation

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

18
9
64

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

Portions of RGB colors in percentages

R + G + B = 18 + 9 + 64 = 91 (100%)
R 18 of 91 ~ 19.78%
G 9 of 91 ~ 9.89%
B 64 of 91 ~ 70.33'%

%19.78
%70.33

CMYK color model

#120940 color CMYK value is (72,86,0,75).

  • cyan value is 71.88%
  • magenta value is 85.94%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (72,86,0,75)
C72M86Y0K75 (72%, 86%, 0%, 75%)
(0.72 / 0.86 / 0.00 / 0.75)

CMYK percentages

%71.88
%85.94
%0
%74.9

Codes

Color #120940 in popluar color models

12 09 40
RGB 18 9 64
HSL 250° 75.34% 14.31%
HSB/HSV 250° 85.94% 25.10%
CMYK 71.88% 85.94% 0.00%
74.90%

Color #120940 in popluar number systems.

HEX 12 09 40
Decimal 18 9 64
Binary 10010 1001 1000000
Octal 22 11 100

Shades and tints

Shades of #120940

#120940
(18,9,64)
#11093B
(17,9,59)
#100936
(16,9,54)
#0F0931
(15,9,49)
#0E092C
(14,9,44)
#0D0927
(13,9,39)
#0C0922
(12,9,34)
#0B091D
(11,9,29)
#0A0918
(10,9,24)
#090913
(9,9,19)
#08090E
(8,9,14)
#000000
(0,0,0)

Tints of #120940

#120940
(18,9,64)
#271F51
(39,31,81)
#3C3562
(60,53,98)
#514B73
(81,75,115)
#666184
(102,97,132)
#7B7795
(123,119,149)
#908DA6
(144,141,166)
#A5A3B7
(165,163,183)
#BAB9C8
(186,185,200)
#CFCFD9
(207,207,217)
#E4E5EA
(228,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120940; }

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

This text font color is #120940.

Background Color

.myBgColor { background-color: #120940; }

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

This div background color is #120940.

Border color

.myBorderColor { border: 1px solid #120940; }

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

This div border color is #120940.

Opacity

.myOpacity80 { color: #120940; opacity: 0.8; }

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

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

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

This text has shadow with #120940 color.


.textShadow {text-shadow: 3px 3px 1px #120940', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #120940; -webkit-box-shadow: 1px 1px 3px 2px #120940; box-shadow:1px 1px 3px 2px #120940;">
Div content here
</div>

This div box has shadow with color #120940.

Preview

Color preview on black background

This text has color #120940 on black background.


Color preview on white background

This text has color #120940 on white background.


Black color preview on #120940 background

This text has black color on #120940 background.


White color preview on #120940 background

This text has white color on #120940 background.


Related colors

Complementary color

Complementary color for #hex is #EDF6BF.


I love getcolorcode.com

Triadic colors

1 #401209 and #094012 with #120940 are triadic colors.

2 #400912 and #091240 with #120940 are triadic colors.