COLOR #120E40

HEX: #120E40 RGB: (18,14,64)

Color info

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

RGB color model

#120E40 color RGB value is (18,14,64).

RGB: (18,14,64) (7%, 5%, 25%)

RGB channels and saturation

R 18 of 255 = 7%
G 14 of 255 = 5%
B 64 of 255 = 25%

18
14
64

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

Portions of RGB colors in percentages

R + G + B = 18 + 14 + 64 = 96 (100%)
R 18 of 96 ~ 18.75%
G 14 of 96 ~ 14.58%
B 64 of 96 ~ 66.67'%

%18.75
%14.58
%66.67

CMYK color model

#120E40 color CMYK value is (72,78,0,75).

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

CMYK: (72,78,0,75)
C72M78Y0K75 (72%, 78%, 0%, 75%)
(0.72 / 0.78 / 0.00 / 0.75)

CMYK percentages

%71.88
%78.13
%0
%74.9

Codes

Color #120E40 in popluar color models

12 0E 40
RGB 18 14 64
HSL 245° 64.10% 15.29%
HSB/HSV 245° 78.13% 25.10%
CMYK 71.88% 78.13% 0.00%
74.90%

Color #120E40 in popluar number systems.

HEX 12 0E 40
Decimal 18 14 64
Binary 10010 1110 1000000
Octal 22 16 100

Shades and tints

Shades of #120E40

#120E40
(18,14,64)
#110D3B
(17,13,59)
#100C36
(16,12,54)
#0F0B31
(15,11,49)
#0E0A2C
(14,10,44)
#0D0927
(13,9,39)
#0C0822
(12,8,34)
#0B071D
(11,7,29)
#0A0618
(10,6,24)
#090513
(9,5,19)
#08040E
(8,4,14)
#000000
(0,0,0)

Tints of #120E40

#120E40
(18,14,64)
#272351
(39,35,81)
#3C3862
(60,56,98)
#514D73
(81,77,115)
#666284
(102,98,132)
#7B7795
(123,119,149)
#908CA6
(144,140,166)
#A5A1B7
(165,161,183)
#BAB6C8
(186,182,200)
#CFCBD9
(207,203,217)
#E4E0EA
(228,224,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #120E40; }

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

This text font color is #120E40.

Background Color

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

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

This div background color is #120E40.

Border color

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

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

This div border color is #120E40.

Opacity

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

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

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

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

This text has shadow with #120E40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #120E40.

Preview

Color preview on black background

This text has color #120E40 on black background.


Color preview on white background

This text has color #120E40 on white background.


Black color preview on #120E40 background

This text has black color on #120E40 background.


White color preview on #120E40 background

This text has white color on #120E40 background.


Related colors

Complementary color

Complementary color for #hex is #EDF1BF.


I love getcolorcode.com

Triadic colors

1 #40120E and #0E4012 with #120E40 are triadic colors.

2 #400E12 and #0E1240 with #120E40 are triadic colors.