COLOR #D040E0

HEX: #D040E0
RGB: (208,64,224)

Color info

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

RGB color model

#D040E0 color RGB value is (208,64,224).

  • red value is 208;
  • green value is 64;
  • blue value is 224.
RGB:
(208,64,224)
(82%,25%,88%)

RGB channels and saturation

R 208 of 255 = 82%
G 64 of 255 = 25%
B 224 of 255 = 88%

208
64
224

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

Portions of RGB colors in percentages

R + G + B =
208 + 64 + 224 = 496 (100%)
R 208 of 496 ~ 41.94%
G 64 of 496 ~ 12.9%
B 224 of 496 ~ 45.16%

%41.94
%12.9
%45.16

CMYK color model

#D040E0 color CMYK value is (7,71,0,12).

  • cyan value is 7.14%
  • magenta value is 71.43%
  • yellow value is 0.00%
  • key color value is 12.16%
CMYK:
(7,71,0,12)
C7M71Y0K12 
(7%,71%,0%,12%)
(0.07/0.71/0.00/0.12)	

CMYK percentages

%7.14
%71.43
%0
%12.16

Codes

Color #D040E0 in popluar color models

D040E0
RGB20864224
HSL294°72.07%56.47%
HSB/HSV294°71.43%87.84%
CMYK7.14%71.43%0.00%
12.16%

Color #D040E0 in popluar number systems.

HEXD040E0
Decimal20864224
Binary11010000100000011100000
Octal320100340

Shades and tints

Shades of #D040E0

#D040E0
(208,64,224)
#BE3BCC
(190,59,204)
#AC36B8
(172,54,184)
#9A31A4
(154,49,164)
#882C90
(136,44,144)
#76277C
(118,39,124)
#642268
(100,34,104)
#521D54
(82,29,84)
#401840
(64,24,64)
#2E132C
(46,19,44)
#1C0E18
(28,14,24)
#000000
(0,0,0)

Tints of #D040E0

#D040E0
(208,64,224)
#D451E2
(212,81,226)
#D862E4
(216,98,228)
#DC73E6
(220,115,230)
#E084E8
(224,132,232)
#E495EA
(228,149,234)
#E8A6EC
(232,166,236)
#ECB7EE
(236,183,238)
#F0C8F0
(240,200,240)
#F4D9F2
(244,217,242)
#F8EAF4
(248,234,244)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D040E0 color. Also use rgb(208,64,224) instead hex code.

Text Font Color

.myTextColor { color: #D040E0; }

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

This text font color is #D040E0.


Background Color

.myBgColor { background-color: #D040E0; }

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

This div background color is #D040E0.


Border color

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

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

This div border color is #D040E0.


Opacity

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

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

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

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

This text has shadow with #D040E0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D040E0 on black background.


Color preview on white background

This text has color #D040E0 on white background.



Black color preview on #D040E0 background

This text has black color on #D040E0 background.


White color preview on #D040E0 background

This text has white color on #D040E0 background.