COLOR #15021F

HEX: #15021F
RGB: (21,2,31)

Color info

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

RGB color model

#15021F color RGB value is (21,2,31).

  • red value is 21;
  • green value is 2;
  • blue value is 31.
RGB:
(21,2,31)
(8%,1%,12%)

RGB channels and saturation

R 21 of 255 = 8%
G 2 of 255 = 1%
B 31 of 255 = 12%

21
2
31

R + G + B ~ 7%. #15021F is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 2 + 31 = 54 (100%)
R 21 of 54 ~ 38.89%
G 2 of 54 ~ 3.7%
B 31 of 54 ~ 57.41%

%38.89
%57.41

CMYK color model

#15021F color CMYK value is (32,94,0,88).

  • cyan value is 32.26%
  • magenta value is 93.55%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(32,94,0,88)
C32M94Y0K88 
(32%,94%,0%,88%)
(0.32/0.94/0.00/0.88)	

CMYK percentages

%32.26
%93.55
%0
%87.84

Codes

Color #15021F in popluar color models

15021F
RGB21231
HSL279°87.88%6.47%
HSB/HSV279°93.55%12.16%
CMYK32.26%93.55%0.00%
87.84%

Color #15021F in popluar number systems.

HEX15021F
Decimal21231
Binary101011011111
Octal25237

Shades and tints

Shades of #15021F

#15021F
(21,2,31)
#14021D
(20,2,29)
#13021B
(19,2,27)
#120219
(18,2,25)
#110217
(17,2,23)
#100215
(16,2,21)
#0F0213
(15,2,19)
#0E0211
(14,2,17)
#0D020F
(13,2,15)
#0C020D
(12,2,13)
#0B020B
(11,2,11)
#000000
(0,0,0)

Tints of #15021F

#15021F
(21,2,31)
#2A1933
(42,25,51)
#3F3047
(63,48,71)
#54475B
(84,71,91)
#695E6F
(105,94,111)
#7E7583
(126,117,131)
#938C97
(147,140,151)
#A8A3AB
(168,163,171)
#BDBABF
(189,186,191)
#D2D1D3
(210,209,211)
#E7E8E7
(231,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #15021F color. Also use rgb(21,2,31) instead hex code.

Text Font Color

.myTextColor { color: #15021F; }

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

This text font color is #15021F.


Background Color

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

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

This div background color is #15021F.


Border color

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

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

This div border color is #15021F.


Opacity

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

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

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

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

This text has shadow with #15021F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15021F on black background.


Color preview on white background

This text has color #15021F on white background.



Black color preview on #15021F background

This text has black color on #15021F background.


White color preview on #15021F background

This text has white color on #15021F background.