COLOR #D21D8D

HEX: #D21D8D
RGB: (210,29,141)

Color info

#D21D8D contains mainly red color. Web safe color of #D21D8D is #CC3399 (or #C39).

RGB color model

#D21D8D color RGB value is (210,29,141).

  • red value is 210;
  • green value is 29;
  • blue value is 141.
RGB:
(210,29,141)
(82%,11%,55%)

RGB channels and saturation

R 210 of 255 = 82%
G 29 of 255 = 11%
B 141 of 255 = 55%

210
29
141

R + G + B ~ 49%. #D21D8D is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
210 + 29 + 141 = 380 (100%)
R 210 of 380 ~ 55.26%
G 29 of 380 ~ 7.63%
B 141 of 380 ~ 37.11%

%55.26
%37.11

CMYK color model

#D21D8D color CMYK value is (0,86,33,18).

  • cyan value is 0.00%
  • magenta value is 86.19%
  • yellow value is 32.86%
  • key color value is 17.65%
CMYK:
(0,86,33,18)
C0M86Y33K18 
(0%,86%,33%,18%)
(0.00/0.86/0.33/0.18)	

CMYK percentages

%0
%86.19
%32.86
%17.65

Codes

Color #D21D8D in popluar color models

D21D8D
RGB21029141
HSL323°75.73%46.86%
HSB/HSV323°86.19%82.35%
CMYK0.00%86.19%32.86%
17.65%

Color #D21D8D in popluar number systems.

HEXD21D8D
Decimal21029141
Binary110100101110110001101
Octal32235215

Shades and tints

Shades of #D21D8D

#D21D8D
(210,29,141)
#BF1B81
(191,27,129)
#AC1975
(172,25,117)
#991769
(153,23,105)
#86155D
(134,21,93)
#731351
(115,19,81)
#601145
(96,17,69)
#4D0F39
(77,15,57)
#3A0D2D
(58,13,45)
#270B21
(39,11,33)
#140915
(20,9,21)
#000000
(0,0,0)

Tints of #D21D8D

#D21D8D
(210,29,141)
#D63197
(214,49,151)
#DA45A1
(218,69,161)
#DE59AB
(222,89,171)
#E26DB5
(226,109,181)
#E681BF
(230,129,191)
#EA95C9
(234,149,201)
#EEA9D3
(238,169,211)
#F2BDDD
(242,189,221)
#F6D1E7
(246,209,231)
#FAE5F1
(250,229,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D21D8D color. Also use rgb(210,29,141) instead hex code.

Text Font Color

.myTextColor { color: #D21D8D; }

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

This text font color is #D21D8D.


Background Color

.myBgColor { background-color: #D21D8D; }

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

This div background color is #D21D8D.


Border color

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

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

This div border color is #D21D8D.


Opacity

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

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

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

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

This text has shadow with #D21D8D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D21D8D on black background.


Color preview on white background

This text has color #D21D8D on white background.



Black color preview on #D21D8D background

This text has black color on #D21D8D background.


White color preview on #D21D8D background

This text has white color on #D21D8D background.