COLOR #D170E4

HEX: #D170E4
RGB: (209,112,228)

Color info

#D170E4 contains mainly red and blue colors. Web safe color of #D170E4 is #CC66CC (or #C6C).

RGB color model

#D170E4 color RGB value is (209,112,228).

  • red value is 209;
  • green value is 112;
  • blue value is 228.
RGB:
(209,112,228)
(82%,44%,89%)

RGB channels and saturation

R 209 of 255 = 82%
G 112 of 255 = 44%
B 228 of 255 = 89%

209
112
228

R + G + B ~ 72%. #D170E4 is quite light color.

Portions of RGB colors in percentages

R + G + B =
209 + 112 + 228 = 549 (100%)
R 209 of 549 ~ 38.07%
G 112 of 549 ~ 20.4%
B 228 of 549 ~ 41.53%

%38.07
%20.4
%41.53

CMYK color model

#D170E4 color CMYK value is (8,51,0,11).

  • cyan value is 8.33%
  • magenta value is 50.88%
  • yellow value is 0.00%
  • key color value is 10.59%
CMYK:
(8,51,0,11)
C8M51Y0K11 
(8%,51%,0%,11%)
(0.08/0.51/0.00/0.11)	

CMYK percentages

%8.33
%50.88
%0
%10.59

Codes

Color #D170E4 in popluar color models

D170E4
RGB209112228
HSL290°68.24%66.67%
HSB/HSV290°50.88%89.41%
CMYK8.33%50.88%0.00%
10.59%

Color #D170E4 in popluar number systems.

HEXD170E4
Decimal209112228
Binary11010001111000011100100
Octal321160344

Shades and tints

Shades of #D170E4

#D170E4
(209,112,228)
#BE66D0
(190,102,208)
#AB5CBC
(171,92,188)
#9852A8
(152,82,168)
#854894
(133,72,148)
#723E80
(114,62,128)
#5F346C
(95,52,108)
#4C2A58
(76,42,88)
#392044
(57,32,68)
#261630
(38,22,48)
#130C1C
(19,12,28)
#000000
(0,0,0)

Tints of #D170E4

#D170E4
(209,112,228)
#D57DE6
(213,125,230)
#D98AE8
(217,138,232)
#DD97EA
(221,151,234)
#E1A4EC
(225,164,236)
#E5B1EE
(229,177,238)
#E9BEF0
(233,190,240)
#EDCBF2
(237,203,242)
#F1D8F4
(241,216,244)
#F5E5F6
(245,229,246)
#F9F2F8
(249,242,248)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D170E4 color. Also use rgb(209,112,228) instead hex code.

Text Font Color

.myTextColor { color: #D170E4; }

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

This text font color is #D170E4.


Background Color

.myBgColor { background-color: #D170E4; }

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

This div background color is #D170E4.


Border color

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

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

This div border color is #D170E4.


Opacity

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

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

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

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

This text has shadow with #D170E4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D170E4 on black background.


Color preview on white background

This text has color #D170E4 on white background.



Black color preview on #D170E4 background

This text has black color on #D170E4 background.


White color preview on #D170E4 background

This text has white color on #D170E4 background.