HEX: #D2BEFA
RGB: (210,190,250)
#D2BEFA contains mainly red and blue colors. Web safe color of #D2BEFA is #CCCCFF (or #CCF).
#D2BEFA color RGB value is (210,190,250).
RGB: (210,190,250) (82%,75%,98%)
R 210 of 255 = 82%
G 190 of 255 = 75%
B 250 of 255 = 98%
R + G + B ~ 85%. #D2BEFA is quite light color.
R + G + B =
210 + 190 + 250 = 650 (100%)
R 210 of 650 ~ 32.31%
G 190 of 650 ~ 29.23%
B 250 of 650 ~ 38.46%
#D2BEFA color CMYK value is (16,24,0,2).
CMYK: (16,24,0,2) C16M24Y0K2 (16%,24%,0%,2%) (0.16/0.24/0.00/0.02)
D2 | BE | FA | |
---|---|---|---|
RGB | 210 | 190 | 250 |
HSL | 260° | 85.71% | 86.27% |
HSB/HSV | 260° | 24.00% | 98.04% |
CMYK | 16.00% | 24.00% | 0.00% |
1.96% |
HEX | D2 | BE | FA |
Decimal | 210 | 190 | 250 |
Binary | 11010010 | 10111110 | 11111010 |
Octal | 322 | 276 | 372 |
Examples of css and html codes for elements with #D2BEFA color. Also use rgb(210,190,250) instead hex code.
.myTextColor { color: #D2BEFA; }
<p style="color:#D2BEFA">This sample text font color is #D2BEFA.</p>
This text font color is #D2BEFA.
.myBgColor { background-color: #D2BEFA; }
<div style="background-color:#D2BEFA">Inner text</div>
This div background color is #D2BEFA.
.myBorderColor { border: 1px solid #D2BEFA; }
<div style="border:3px solid #D2BEFA">Div</div>
This div border color is #D2BEFA.
.myOpacity80 { color: #D2BEFA; opacity: 0.8; }
<p style="color:#D2BEFA;opacity:0.8;">80%</p>
Text with #D2BEFA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D2BEFA;}
<p style="text-shadow: 3px 3px 1px #D2BEFA">Text here.</p>
This text has shadow with #D2BEFA color.
.textShadow {text-shadow: 3px 3px 1px #D2BEFA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D2BEFA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D2BEFA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D2BEFA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D2BEFA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D2BEFA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D2BEFA; -webkit-box-shadow: 1px 1px 3px 2px #D2BEFA; box-shadow: 1px 1px 3px 2px #D2BEFA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D2BEFA; -webkit-box-shadow: 1px 1px 3px 2px #D2BEFA; box-shadow:1px 1px 3px 2px #D2BEFA;">
Div content here</div>
This text has color #D2BEFA on black background.
This text has color #D2BEFA on white background.
This text has black color on #D2BEFA background.
This text has white color on #D2BEFA background.