HEX: #D498DF
RGB: (212,152,223)
#D498DF contains mainly red and blue colors. Web safe color of #D498DF is #CC99CC (or #C9C).
#D498DF color RGB value is (212,152,223).
RGB: (212,152,223) (83%,60%,87%)
R 212 of 255 = 83%
G 152 of 255 = 60%
B 223 of 255 = 87%
R + G + B ~ 77%. #D498DF is quite light color.
R + G + B =
212 + 152 + 223 = 587 (100%)
R 212 of 587 ~ 36.12%
G 152 of 587 ~ 25.89%
B 223 of 587 ~ 37.99%
#D498DF color CMYK value is (5,32,0,13).
CMYK: (5,32,0,13) C5M32Y0K13 (5%,32%,0%,13%) (0.05/0.32/0.00/0.13)
D4 | 98 | DF | |
---|---|---|---|
RGB | 212 | 152 | 223 |
HSL | 291° | 52.59% | 73.53% |
HSB/HSV | 291° | 31.84% | 87.45% |
CMYK | 4.93% | 31.84% | 0.00% |
12.55% |
HEX | D4 | 98 | DF |
Decimal | 212 | 152 | 223 |
Binary | 11010100 | 10011000 | 11011111 |
Octal | 324 | 230 | 337 |
Examples of css and html codes for elements with #D498DF color. Also use rgb(212,152,223) instead hex code.
.myTextColor { color: #D498DF; }
<p style="color:#D498DF">This sample text font color is #D498DF.</p>
This text font color is #D498DF.
.myBgColor { background-color: #D498DF; }
<div style="background-color:#D498DF">Inner text</div>
This div background color is #D498DF.
.myBorderColor { border: 1px solid #D498DF; }
<div style="border:3px solid #D498DF">Div</div>
This div border color is #D498DF.
.myOpacity80 { color: #D498DF; opacity: 0.8; }
<p style="color:#D498DF;opacity:0.8;">80%</p>
Text with #D498DF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D498DF;}
<p style="text-shadow: 3px 3px 1px #D498DF">Text here.</p>
This text has shadow with #D498DF color.
.textShadow {text-shadow: 3px 3px 1px #D498DF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D498DF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D498DF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D498DF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D498DF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D498DF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D498DF; -webkit-box-shadow: 1px 1px 3px 2px #D498DF; box-shadow: 1px 1px 3px 2px #D498DF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D498DF; -webkit-box-shadow: 1px 1px 3px 2px #D498DF; box-shadow:1px 1px 3px 2px #D498DF;">
Div content here</div>
This text has color #D498DF on black background.
This text has color #D498DF on white background.
This text has black color on #D498DF background.
This text has white color on #D498DF background.