COLOR #152821

HEX: #152821 RGB: (21,40,33)

Color info

#152821 contains red, green and blue colors in about the same proportion. Web safe color of #152821 is #003333 (or #033).

RGB color model

#152821 color RGB value is (21,40,33).

RGB: (21,40,33) (8%, 16%, 13%)

RGB channels and saturation

R 21 of 255 = 8%
G 40 of 255 = 16%
B 33 of 255 = 13%

21
40
33

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

Portions of RGB colors in percentages

R + G + B = 21 + 40 + 33 = 94 (100%)
R 21 of 94 ~ 22.34%
G 40 of 94 ~ 42.55%
B 33 of 94 ~ 35.11'%

%22.34
%42.55
%35.11

CMYK color model

#152821 color CMYK value is (48,0,18,84).

  • cyan value is 47.50%
  • magenta value is 0.00%
  • yellow value is 17.50%
  • key color value is 84.31%

CMYK: (48,0,18,84)
C48M0Y18K84 (48%, 0%, 18%, 84%)
(0.48 / 0.00 / 0.18 / 0.84)

CMYK percentages

%47.5
%0
%17.5
%84.31

Codes

Color #152821 in popluar color models

15 28 21
RGB 21 40 33
HSL 158° 31.15% 11.96%
HSB/HSV 158° 47.50% 15.69%
CMYK 47.50% 0.00% 17.50%
84.31%

Color #152821 in popluar number systems.

HEX 15 28 21
Decimal 21 40 33
Binary 10101 101000 100001
Octal 25 50 41

Shades and tints

Shades of #152821

#152821
(21,40,33)
#14251E
(20,37,30)
#13221B
(19,34,27)
#121F18
(18,31,24)
#111C15
(17,28,21)
#101912
(16,25,18)
#0F160F
(15,22,15)
#0E130C
(14,19,12)
#0D1009
(13,16,9)
#0C0D06
(12,13,6)
#0B0A03
(11,10,3)
#000000
(0,0,0)

Tints of #152821

#152821
(21,40,33)
#2A3B35
(42,59,53)
#3F4E49
(63,78,73)
#54615D
(84,97,93)
#697471
(105,116,113)
#7E8785
(126,135,133)
#939A99
(147,154,153)
#A8ADAD
(168,173,173)
#BDC0C1
(189,192,193)
#D2D3D5
(210,211,213)
#E7E6E9
(231,230,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #152821 color. Also use rgb(21,40,33) instead hex code.

Text Font Color

.myTextColor { color: #152821; }

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

This text font color is #152821.

Background Color

.myBgColor { background-color: #152821; }

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

This div background color is #152821.

Border color

.myBorderColor { border: 1px solid #152821; }

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

This div border color is #152821.

Opacity

.myOpacity80 { color: #152821; opacity: 0.8; }

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

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

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

This text has shadow with #152821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #152821.

Preview

Color preview on black background

This text has color #152821 on black background.


Color preview on white background

This text has color #152821 on white background.


Black color preview on #152821 background

This text has black color on #152821 background.


White color preview on #152821 background

This text has white color on #152821 background.


Related colors

Complementary color

Complementary color for #hex is #EAD7DE.


I love getcolorcode.com

Triadic colors

1 #211528 and #282115 with #152821 are triadic colors.

2 #212815 and #281521 with #152821 are triadic colors.