COLOR #872DD7

HEX: #872DD7
RGB: (135,45,215)

Color info

#872DD7 contains mainly blue color. Web safe color of #872DD7 is #9933CC (or #93C).

RGB color model

#872DD7 color RGB value is (135,45,215).

  • red value is 135;
  • green value is 45;
  • blue value is 215.
RGB:
(135,45,215)
(53%,18%,84%)

RGB channels and saturation

R 135 of 255 = 53%
G 45 of 255 = 18%
B 215 of 255 = 84%

135
45
215

R + G + B ~ 52%. #872DD7 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
135 + 45 + 215 = 395 (100%)
R 135 of 395 ~ 34.18%
G 45 of 395 ~ 11.39%
B 215 of 395 ~ 54.43%

%34.18
%11.39
%54.43

CMYK color model

#872DD7 color CMYK value is (37,79,0,16).

  • cyan value is 37.21%
  • magenta value is 79.07%
  • yellow value is 0.00%
  • key color value is 15.69%
CMYK:
(37,79,0,16)
C37M79Y0K16 
(37%,79%,0%,16%)
(0.37/0.79/0.00/0.16)	

CMYK percentages

%37.21
%79.07
%0
%15.69

Codes

Color #872DD7 in popluar color models

872DD7
RGB13545215
HSL272°68.00%50.98%
HSB/HSV272°79.07%84.31%
CMYK37.21%79.07%0.00%
15.69%

Color #872DD7 in popluar number systems.

HEX872DD7
Decimal13545215
Binary1000011110110111010111
Octal20755327

Shades and tints

Shades of #872DD7

#872DD7
(135,45,215)
#7B29C4
(123,41,196)
#6F25B1
(111,37,177)
#63219E
(99,33,158)
#571D8B
(87,29,139)
#4B1978
(75,25,120)
#3F1565
(63,21,101)
#331152
(51,17,82)
#270D3F
(39,13,63)
#1B092C
(27,9,44)
#0F0519
(15,5,25)
#000000
(0,0,0)

Tints of #872DD7

#872DD7
(135,45,215)
#9140DA
(145,64,218)
#9B53DD
(155,83,221)
#A566E0
(165,102,224)
#AF79E3
(175,121,227)
#B98CE6
(185,140,230)
#C39FE9
(195,159,233)
#CDB2EC
(205,178,236)
#D7C5EF
(215,197,239)
#E1D8F2
(225,216,242)
#EBEBF5
(235,235,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #872DD7 color. Also use rgb(135,45,215) instead hex code.

Text Font Color

.myTextColor { color: #872DD7; }

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

This text font color is #872DD7.


Background Color

.myBgColor { background-color: #872DD7; }

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

This div background color is #872DD7.


Border color

.myBorderColor { border: 1px solid #872DD7; }

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

This div border color is #872DD7.


Opacity

.myOpacity80 { color: #872DD7; opacity: 0.8; }

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

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

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

This text has shadow with #872DD7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #872DD7 on black background.


Color preview on white background

This text has color #872DD7 on white background.



Black color preview on #872DD7 background

This text has black color on #872DD7 background.


White color preview on #872DD7 background

This text has white color on #872DD7 background.