COLOR #120F28

HEX: #120F28
RGB: (18,15,40)

Color info

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

RGB color model

#120F28 color RGB value is (18,15,40).

  • red value is 18;
  • green value is 15;
  • blue value is 40.
RGB:
(18,15,40)
(7%,6%,16%)

RGB channels and saturation

R 18 of 255 = 7%
G 15 of 255 = 6%
B 40 of 255 = 16%

18
15
40

R + G + B ~ 10%. #120F28 is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 15 + 40 = 73 (100%)
R 18 of 73 ~ 24.66%
G 15 of 73 ~ 20.55%
B 40 of 73 ~ 54.79%

%24.66
%20.55
%54.79

CMYK color model

#120F28 color CMYK value is (55,63,0,84).

  • cyan value is 55.00%
  • magenta value is 62.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(55,63,0,84)
C55M63Y0K84 
(55%,63%,0%,84%)
(0.55/0.63/0.00/0.84)	

CMYK percentages

%55
%62.5
%0
%84.31

Codes

Color #120F28 in popluar color models

120F28
RGB181540
HSL247°45.45%10.78%
HSB/HSV247°62.50%15.69%
CMYK55.00%62.50%0.00%
84.31%

Color #120F28 in popluar number systems.

HEX120F28
Decimal181540
Binary100101111101000
Octal221750

Shades and tints

Shades of #120F28

#120F28
(18,15,40)
#110E25
(17,14,37)
#100D22
(16,13,34)
#0F0C1F
(15,12,31)
#0E0B1C
(14,11,28)
#0D0A19
(13,10,25)
#0C0916
(12,9,22)
#0B0813
(11,8,19)
#0A0710
(10,7,16)
#09060D
(9,6,13)
#08050A
(8,5,10)
#000000
(0,0,0)

Tints of #120F28

#120F28
(18,15,40)
#27243B
(39,36,59)
#3C394E
(60,57,78)
#514E61
(81,78,97)
#666374
(102,99,116)
#7B7887
(123,120,135)
#908D9A
(144,141,154)
#A5A2AD
(165,162,173)
#BAB7C0
(186,183,192)
#CFCCD3
(207,204,211)
#E4E1E6
(228,225,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #120F28 color. Also use rgb(18,15,40) instead hex code.

Text Font Color

.myTextColor { color: #120F28; }

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

This text font color is #120F28.


Background Color

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

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

This div background color is #120F28.


Border color

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

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

This div border color is #120F28.


Opacity

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

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

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

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

This text has shadow with #120F28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #120F28 on black background.


Color preview on white background

This text has color #120F28 on white background.



Black color preview on #120F28 background

This text has black color on #120F28 background.


White color preview on #120F28 background

This text has white color on #120F28 background.