COLOR #D842D6

HEX: #D842D6
RGB: (216,66,214)

Color info

#D842D6 contains mainly red and blue colors. Web safe color of #D842D6 is #CC33CC (or #C3C).

RGB color model

#D842D6 color RGB value is (216,66,214).

  • red value is 216;
  • green value is 66;
  • blue value is 214.
RGB:
(216,66,214)
(85%,26%,84%)

RGB channels and saturation

R 216 of 255 = 85%
G 66 of 255 = 26%
B 214 of 255 = 84%

216
66
214

R + G + B ~ 65%. #D842D6 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 66 + 214 = 496 (100%)
R 216 of 496 ~ 43.55%
G 66 of 496 ~ 13.31%
B 214 of 496 ~ 43.15%

%43.55
%13.31
%43.15

CMYK color model

#D842D6 color CMYK value is (0,69,1,15).

  • cyan value is 0.00%
  • magenta value is 69.44%
  • yellow value is 0.93%
  • key color value is 15.29%
CMYK:
(0,69,1,15)
C0M69Y1K15 
(0%,69%,1%,15%)
(0.00/0.69/0.01/0.15)	

CMYK percentages

%0
%69.44
%0.93
%15.29

Codes

Color #D842D6 in popluar color models

D842D6
RGB21666214
HSL301°65.79%55.29%
HSB/HSV301°69.44%84.71%
CMYK0.00%69.44%0.93%
15.29%

Color #D842D6 in popluar number systems.

HEXD842D6
Decimal21666214
Binary11011000100001011010110
Octal330102326

Shades and tints

Shades of #D842D6

#D842D6
(216,66,214)
#C53CC3
(197,60,195)
#B236B0
(178,54,176)
#9F309D
(159,48,157)
#8C2A8A
(140,42,138)
#792477
(121,36,119)
#661E64
(102,30,100)
#531851
(83,24,81)
#40123E
(64,18,62)
#2D0C2B
(45,12,43)
#1A0618
(26,6,24)
#000000
(0,0,0)

Tints of #D842D6

#D842D6
(216,66,214)
#DB53D9
(219,83,217)
#DE64DC
(222,100,220)
#E175DF
(225,117,223)
#E486E2
(228,134,226)
#E797E5
(231,151,229)
#EAA8E8
(234,168,232)
#EDB9EB
(237,185,235)
#F0CAEE
(240,202,238)
#F3DBF1
(243,219,241)
#F6ECF4
(246,236,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D842D6 color. Also use rgb(216,66,214) instead hex code.

Text Font Color

.myTextColor { color: #D842D6; }

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

This text font color is #D842D6.


Background Color

.myBgColor { background-color: #D842D6; }

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

This div background color is #D842D6.


Border color

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

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

This div border color is #D842D6.


Opacity

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

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

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

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

This text has shadow with #D842D6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D842D6 on black background.


Color preview on white background

This text has color #D842D6 on white background.



Black color preview on #D842D6 background

This text has black color on #D842D6 background.


White color preview on #D842D6 background

This text has white color on #D842D6 background.