HEX: #D4B4FA
RGB: (212,180,250)
#D4B4FA contains mainly red and blue colors. Web safe color of #D4B4FA is #CCCCFF (or #CCF).
#D4B4FA color RGB value is (212,180,250).
RGB: (212,180,250) (83%,71%,98%)
R 212 of 255 = 83%
G 180 of 255 = 71%
B 250 of 255 = 98%
R + G + B ~ 84%. #D4B4FA is quite light color.
R + G + B =
212 + 180 + 250 = 642 (100%)
R 212 of 642 ~ 33.02%
G 180 of 642 ~ 28.04%
B 250 of 642 ~ 38.94%
#D4B4FA color CMYK value is (15,28,0,2).
CMYK: (15,28,0,2) C15M28Y0K2 (15%,28%,0%,2%) (0.15/0.28/0.00/0.02)
D4 | B4 | FA | |
---|---|---|---|
RGB | 212 | 180 | 250 |
HSL | 267° | 87.50% | 84.31% |
HSB/HSV | 267° | 28.00% | 98.04% |
CMYK | 15.20% | 28.00% | 0.00% |
1.96% |
HEX | D4 | B4 | FA |
Decimal | 212 | 180 | 250 |
Binary | 11010100 | 10110100 | 11111010 |
Octal | 324 | 264 | 372 |
Examples of css and html codes for elements with #D4B4FA color. Also use rgb(212,180,250) instead hex code.
.myTextColor { color: #D4B4FA; }
<p style="color:#D4B4FA">This sample text font color is #D4B4FA.</p>
This text font color is #D4B4FA.
.myBgColor { background-color: #D4B4FA; }
<div style="background-color:#D4B4FA">Inner text</div>
This div background color is #D4B4FA.
.myBorderColor { border: 1px solid #D4B4FA; }
<div style="border:3px solid #D4B4FA">Div</div>
This div border color is #D4B4FA.
.myOpacity80 { color: #D4B4FA; opacity: 0.8; }
<p style="color:#D4B4FA;opacity:0.8;">80%</p>
Text with #D4B4FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4B4FA;}
<p style="text-shadow: 3px 3px 1px #D4B4FA">Text here.</p>
This text has shadow with #D4B4FA color.
.textShadow {text-shadow: 3px 3px 1px #D4B4FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4B4FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4B4FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4B4FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4B4FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4B4FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4B4FA; -webkit-box-shadow: 1px 1px 3px 2px #D4B4FA; box-shadow: 1px 1px 3px 2px #D4B4FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4B4FA; -webkit-box-shadow: 1px 1px 3px 2px #D4B4FA; box-shadow:1px 1px 3px 2px #D4B4FA;">
Div content here</div>
This text has color #D4B4FA on black background.
This text has color #D4B4FA on white background.
This text has black color on #D4B4FA background.
This text has white color on #D4B4FA background.