COLOR #15124F

HEX: #15124F
RGB: (21,18,79)

Color info

#15124F contains mainly red and blue colors. Web safe color of #15124F is #000066 (or #006).

RGB color model

#15124F color RGB value is (21,18,79).

  • red value is 21;
  • green value is 18;
  • blue value is 79.
RGB:
(21,18,79)
(8%,7%,31%)

RGB channels and saturation

R 21 of 255 = 8%
G 18 of 255 = 7%
B 79 of 255 = 31%

21
18
79

R + G + B ~ 15%. #15124F is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 18 + 79 = 118 (100%)
R 21 of 118 ~ 17.8%
G 18 of 118 ~ 15.25%
B 79 of 118 ~ 66.95%

%17.8
%15.25
%66.95

CMYK color model

#15124F color CMYK value is (73,77,0,69).

  • cyan value is 73.42%
  • magenta value is 77.22%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(73,77,0,69)
C73M77Y0K69 
(73%,77%,0%,69%)
(0.73/0.77/0.00/0.69)	

CMYK percentages

%73.42
%77.22
%0
%69.02

Codes

Color #15124F in popluar color models

15124F
RGB211879
HSL243°62.89%19.02%
HSB/HSV243°77.22%30.98%
CMYK73.42%77.22%0.00%
69.02%

Color #15124F in popluar number systems.

HEX15124F
Decimal211879
Binary10101100101001111
Octal2522117

Shades and tints

Shades of #15124F

#15124F
(21,18,79)
#141148
(20,17,72)
#131041
(19,16,65)
#120F3A
(18,15,58)
#110E33
(17,14,51)
#100D2C
(16,13,44)
#0F0C25
(15,12,37)
#0E0B1E
(14,11,30)
#0D0A17
(13,10,23)
#0C0910
(12,9,16)
#0B0809
(11,8,9)
#000000
(0,0,0)

Tints of #15124F

#15124F
(21,18,79)
#2A275F
(42,39,95)
#3F3C6F
(63,60,111)
#54517F
(84,81,127)
#69668F
(105,102,143)
#7E7B9F
(126,123,159)
#9390AF
(147,144,175)
#A8A5BF
(168,165,191)
#BDBACF
(189,186,207)
#D2CFDF
(210,207,223)
#E7E4EF
(231,228,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15124F color. Also use rgb(21,18,79) instead hex code.

Text Font Color

.myTextColor { color: #15124F; }

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

This text font color is #15124F.


Background Color

.myBgColor { background-color: #15124F; }

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

This div background color is #15124F.


Border color

.myBorderColor { border: 1px solid #15124F; }

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

This div border color is #15124F.


Opacity

.myOpacity80 { color: #15124F; opacity: 0.8; }

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

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

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

This text has shadow with #15124F color.

.textShadow {text-shadow: 3px 3px 1px #15124F, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15124F on black background.


Color preview on white background

This text has color #15124F on white background.



Black color preview on #15124F background

This text has black color on #15124F background.


White color preview on #15124F background

This text has white color on #15124F background.