COLOR #151221

HEX: #151221 RGB: (21,18,33)

Color info

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

RGB color model

#151221 color RGB value is (21,18,33).

RGB: (21,18,33) (8%, 7%, 13%)

RGB channels and saturation

R 21 of 255 = 8%
G 18 of 255 = 7%
B 33 of 255 = 13%

21
18
33

R + G + B ~ 9%. #151221 is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 18 + 33 = 72 (100%)
R 21 of 72 ~ 29.17%
G 18 of 72 ~ 25%
B 33 of 72 ~ 45.83'%

%29.17
%25
%45.83

CMYK color model

#151221 color CMYK value is (36,45,0,87).

  • cyan value is 36.36%
  • magenta value is 45.45%
  • yellow value is 0.00%
  • key color value is 87.06%

CMYK: (36,45,0,87)
C36M45Y0K87 (36%, 45%, 0%, 87%)
(0.36 / 0.45 / 0.00 / 0.87)

CMYK percentages

%36.36
%45.45
%0
%87.06

Codes

Color #151221 in popluar color models

15 12 21
RGB 21 18 33
HSL 252° 29.41% 10.00%
HSB/HSV 252° 45.45% 12.94%
CMYK 36.36% 45.45% 0.00%
87.06%

Color #151221 in popluar number systems.

HEX 15 12 21
Decimal 21 18 33
Binary 10101 10010 100001
Octal 25 22 41

Shades and tints

Shades of #151221

#151221
(21,18,33)
#14111E
(20,17,30)
#13101B
(19,16,27)
#120F18
(18,15,24)
#110E15
(17,14,21)
#100D12
(16,13,18)
#0F0C0F
(15,12,15)
#0E0B0C
(14,11,12)
#0D0A09
(13,10,9)
#0C0906
(12,9,6)
#0B0803
(11,8,3)
#000000
(0,0,0)

Tints of #151221

#151221
(21,18,33)
#2A2735
(42,39,53)
#3F3C49
(63,60,73)
#54515D
(84,81,93)
#696671
(105,102,113)
#7E7B85
(126,123,133)
#939099
(147,144,153)
#A8A5AD
(168,165,173)
#BDBAC1
(189,186,193)
#D2CFD5
(210,207,213)
#E7E4E9
(231,228,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151221; }

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

This text font color is #151221.

Background Color

.myBgColor { background-color: #151221; }

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

This div background color is #151221.

Border color

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

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

This div border color is #151221.

Opacity

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

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

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

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

This text has shadow with #151221 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #151221.

Preview

Color preview on black background

This text has color #151221 on black background.


Color preview on white background

This text has color #151221 on white background.


Black color preview on #151221 background

This text has black color on #151221 background.


White color preview on #151221 background

This text has white color on #151221 background.


Related colors

Complementary color

Complementary color for #hex is #EAEDDE.


I love getcolorcode.com

Triadic colors

1 #211512 and #122115 with #151221 are triadic colors.

2 #211215 and #121521 with #151221 are triadic colors.