COLOR #D851F5

HEX: #D851F5
RGB: (216,81,245)

Color info

#D851F5 contains mainly red and blue colors. Web safe color of #D851F5 is #CC66FF (or #C6F).

RGB color model

#D851F5 color RGB value is (216,81,245).

  • red value is 216;
  • green value is 81;
  • blue value is 245.
RGB:
(216,81,245)
(85%,32%,96%)

RGB channels and saturation

R 216 of 255 = 85%
G 81 of 255 = 32%
B 245 of 255 = 96%

216
81
245

R + G + B ~ 71%. #D851F5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
216 + 81 + 245 = 542 (100%)
R 216 of 542 ~ 39.85%
G 81 of 542 ~ 14.94%
B 245 of 542 ~ 45.2%

%39.85
%14.94
%45.2

CMYK color model

#D851F5 color CMYK value is (12,67,0,4).

  • cyan value is 11.84%
  • magenta value is 66.94%
  • yellow value is 0.00%
  • key color value is 3.92%
CMYK:
(12,67,0,4)
C12M67Y0K4 
(12%,67%,0%,4%)
(0.12/0.67/0.00/0.04)	

CMYK percentages

%11.84
%66.94
%0
%3.92

Codes

Color #D851F5 in popluar color models

D851F5
RGB21681245
HSL289°89.13%63.92%
HSB/HSV289°66.94%96.08%
CMYK11.84%66.94%0.00%
3.92%

Color #D851F5 in popluar number systems.

HEXD851F5
Decimal21681245
Binary11011000101000111110101
Octal330121365

Shades and tints

Shades of #D851F5

#D851F5
(216,81,245)
#C54ADF
(197,74,223)
#B243C9
(178,67,201)
#9F3CB3
(159,60,179)
#8C359D
(140,53,157)
#792E87
(121,46,135)
#662771
(102,39,113)
#53205B
(83,32,91)
#401945
(64,25,69)
#2D122F
(45,18,47)
#1A0B19
(26,11,25)
#000000
(0,0,0)

Tints of #D851F5

#D851F5
(216,81,245)
#DB60F5
(219,96,245)
#DE6FF5
(222,111,245)
#E17EF5
(225,126,245)
#E48DF5
(228,141,245)
#E79CF5
(231,156,245)
#EAABF5
(234,171,245)
#EDBAF5
(237,186,245)
#F0C9F5
(240,201,245)
#F3D8F5
(243,216,245)
#F6E7F5
(246,231,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D851F5 color. Also use rgb(216,81,245) instead hex code.

Text Font Color

.myTextColor { color: #D851F5; }

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

This text font color is #D851F5.


Background Color

.myBgColor { background-color: #D851F5; }

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

This div background color is #D851F5.


Border color

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

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

This div border color is #D851F5.


Opacity

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

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

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

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

This text has shadow with #D851F5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D851F5 on black background.


Color preview on white background

This text has color #D851F5 on white background.



Black color preview on #D851F5 background

This text has black color on #D851F5 background.


White color preview on #D851F5 background

This text has white color on #D851F5 background.