HEX: #D497FA
RGB: (212,151,250)
#D497FA contains mainly red and blue colors. Web safe color of #D497FA is #CC99FF (or #C9F).
#D497FA color RGB value is (212,151,250).
RGB: (212,151,250) (83%,59%,98%)
R 212 of 255 = 83%
G 151 of 255 = 59%
B 250 of 255 = 98%
R + G + B ~ 80%. #D497FA is quite light color.
R + G + B =
212 + 151 + 250 = 613 (100%)
R 212 of 613 ~ 34.58%
G 151 of 613 ~ 24.63%
B 250 of 613 ~ 40.78%
#D497FA color CMYK value is (15,40,0,2).
CMYK: (15,40,0,2) C15M40Y0K2 (15%,40%,0%,2%) (0.15/0.40/0.00/0.02)
D4 | 97 | FA | |
---|---|---|---|
RGB | 212 | 151 | 250 |
HSL | 277° | 90.83% | 78.63% |
HSB/HSV | 277° | 39.60% | 98.04% |
CMYK | 15.20% | 39.60% | 0.00% |
1.96% |
HEX | D4 | 97 | FA |
Decimal | 212 | 151 | 250 |
Binary | 11010100 | 10010111 | 11111010 |
Octal | 324 | 227 | 372 |
Examples of css and html codes for elements with #D497FA color. Also use rgb(212,151,250) instead hex code.
.myTextColor { color: #D497FA; }
<p style="color:#D497FA">This sample text font color is #D497FA.</p>
This text font color is #D497FA.
.myBgColor { background-color: #D497FA; }
<div style="background-color:#D497FA">Inner text</div>
This div background color is #D497FA.
.myBorderColor { border: 1px solid #D497FA; }
<div style="border:3px solid #D497FA">Div</div>
This div border color is #D497FA.
.myOpacity80 { color: #D497FA; opacity: 0.8; }
<p style="color:#D497FA;opacity:0.8;">80%</p>
Text with #D497FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D497FA;}
<p style="text-shadow: 3px 3px 1px #D497FA">Text here.</p>
This text has shadow with #D497FA color.
.textShadow {text-shadow: 3px 3px 1px #D497FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D497FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D497FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D497FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D497FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D497FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D497FA; -webkit-box-shadow: 1px 1px 3px 2px #D497FA; box-shadow: 1px 1px 3px 2px #D497FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D497FA; -webkit-box-shadow: 1px 1px 3px 2px #D497FA; box-shadow:1px 1px 3px 2px #D497FA;">
Div content here</div>
This text has color #D497FA on black background.
This text has color #D497FA on white background.
This text has black color on #D497FA background.
This text has white color on #D497FA background.