COLOR #15021B

HEX: #15021B
RGB: (21,2,27)

Color info

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

RGB color model

#15021B color RGB value is (21,2,27).

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

RGB channels and saturation

R 21 of 255 = 8%
G 2 of 255 = 1%
B 27 of 255 = 11%

21
2
27

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

Portions of RGB colors in percentages

R + G + B =
21 + 2 + 27 = 50 (100%)
R 21 of 50 ~ 42%
G 2 of 50 ~ 4%
B 27 of 50 ~ 54%

%42
%54

CMYK color model

#15021B color CMYK value is (22,93,0,89).

  • cyan value is 22.22%
  • magenta value is 92.59%
  • yellow value is 0.00%
  • key color value is 89.41%
CMYK:
(22,93,0,89)
C22M93Y0K89 
(22%,93%,0%,89%)
(0.22/0.93/0.00/0.89)	

CMYK percentages

%22.22
%92.59
%0
%89.41

Codes

Color #15021B in popluar color models

15021B
RGB21227
HSL286°86.21%5.69%
HSB/HSV286°92.59%10.59%
CMYK22.22%92.59%0.00%
89.41%

Color #15021B in popluar number systems.

HEX15021B
Decimal21227
Binary101011011011
Octal25233

Shades and tints

Shades of #15021B

#15021B
(21,2,27)
#140219
(20,2,25)
#130217
(19,2,23)
#120215
(18,2,21)
#110213
(17,2,19)
#100211
(16,2,17)
#0F020F
(15,2,15)
#0E020D
(14,2,13)
#0D020B
(13,2,11)
#0C0209
(12,2,9)
#0B0207
(11,2,7)
#000000
(0,0,0)

Tints of #15021B

#15021B
(21,2,27)
#2A192F
(42,25,47)
#3F3043
(63,48,67)
#544757
(84,71,87)
#695E6B
(105,94,107)
#7E757F
(126,117,127)
#938C93
(147,140,147)
#A8A3A7
(168,163,167)
#BDBABB
(189,186,187)
#D2D1CF
(210,209,207)
#E7E8E3
(231,232,227)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #15021B; }

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

This text font color is #15021B.


Background Color

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

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

This div background color is #15021B.


Border color

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

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

This div border color is #15021B.


Opacity

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

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

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

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

This text has shadow with #15021B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #15021B on black background.


Color preview on white background

This text has color #15021B on white background.



Black color preview on #15021B background

This text has black color on #15021B background.


White color preview on #15021B background

This text has white color on #15021B background.