COLOR #D97BEB

HEX: #D97BEB
RGB: (217,123,235)

Color info

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

RGB color model

#D97BEB color RGB value is (217,123,235).

  • red value is 217;
  • green value is 123;
  • blue value is 235.
RGB:
(217,123,235)
(85%,48%,92%)

RGB channels and saturation

R 217 of 255 = 85%
G 123 of 255 = 48%
B 235 of 255 = 92%

217
123
235

R + G + B ~ 75%. #D97BEB is quite light color.

Portions of RGB colors in percentages

R + G + B =
217 + 123 + 235 = 575 (100%)
R 217 of 575 ~ 37.74%
G 123 of 575 ~ 21.39%
B 235 of 575 ~ 40.87%

%37.74
%21.39
%40.87

CMYK color model

#D97BEB color CMYK value is (8,48,0,8).

  • cyan value is 7.66%
  • magenta value is 47.66%
  • yellow value is 0.00%
  • key color value is 7.84%
CMYK:
(8,48,0,8)
C8M48Y0K8 
(8%,48%,0%,8%)
(0.08/0.48/0.00/0.08)	

CMYK percentages

%7.66
%47.66
%0
%7.84

Codes

Color #D97BEB in popluar color models

D97BEB
RGB217123235
HSL290°73.68%70.20%
HSB/HSV290°47.66%92.16%
CMYK7.66%47.66%0.00%
7.84%

Color #D97BEB in popluar number systems.

HEXD97BEB
Decimal217123235
Binary11011001111101111101011
Octal331173353

Shades and tints

Shades of #D97BEB

#D97BEB
(217,123,235)
#C670D6
(198,112,214)
#B365C1
(179,101,193)
#A05AAC
(160,90,172)
#8D4F97
(141,79,151)
#7A4482
(122,68,130)
#67396D
(103,57,109)
#542E58
(84,46,88)
#412343
(65,35,67)
#2E182E
(46,24,46)
#1B0D19
(27,13,25)
#000000
(0,0,0)

Tints of #D97BEB

#D97BEB
(217,123,235)
#DC87EC
(220,135,236)
#DF93ED
(223,147,237)
#E29FEE
(226,159,238)
#E5ABEF
(229,171,239)
#E8B7F0
(232,183,240)
#EBC3F1
(235,195,241)
#EECFF2
(238,207,242)
#F1DBF3
(241,219,243)
#F4E7F4
(244,231,244)
#F7F3F5
(247,243,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D97BEB color. Also use rgb(217,123,235) instead hex code.

Text Font Color

.myTextColor { color: #D97BEB; }

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

This text font color is #D97BEB.


Background Color

.myBgColor { background-color: #D97BEB; }

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

This div background color is #D97BEB.


Border color

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

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

This div border color is #D97BEB.


Opacity

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

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

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

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

This text has shadow with #D97BEB color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D97BEB on black background.


Color preview on white background

This text has color #D97BEB on white background.



Black color preview on #D97BEB background

This text has black color on #D97BEB background.


White color preview on #D97BEB background

This text has white color on #D97BEB background.