HEX: #D480FF
RGB: (212,128,255)
#D480FF contains mainly red and blue colors. Web safe color of #D480FF is #CC66FF (or #C6F).
#D480FF color RGB value is (212,128,255).
RGB: (212,128,255) (83%,50%,100%)
R 212 of 255 = 83%
G 128 of 255 = 50%
B 255 of 255 = 100%
R + G + B ~ 78%. #D480FF is quite light color.
R + G + B =
212 + 128 + 255 = 595 (100%)
R 212 of 595 ~ 35.63%
G 128 of 595 ~ 21.51%
B 255 of 595 ~ 42.86%
#D480FF color CMYK value is (17,50,0,0).
CMYK: (17,50,0,0) C17M50Y0K0 (17%,50%,0%,0%) (0.17/0.50/0.00/0.00)
D4 | 80 | FF | |
---|---|---|---|
RGB | 212 | 128 | 255 |
HSL | 280° | 100.00% | 75.10% |
HSB/HSV | 280° | 49.80% | 100.00% |
CMYK | 16.86% | 49.80% | 0.00% |
0.00% |
HEX | D4 | 80 | FF |
Decimal | 212 | 128 | 255 |
Binary | 11010100 | 10000000 | 11111111 |
Octal | 324 | 200 | 377 |
Examples of css and html codes for elements with #D480FF color. Also use rgb(212,128,255) instead hex code.
.myTextColor { color: #D480FF; }
<p style="color:#D480FF">This sample text font color is #D480FF.</p>
This text font color is #D480FF.
.myBgColor { background-color: #D480FF; }
<div style="background-color:#D480FF">Inner text</div>
This div background color is #D480FF.
.myBorderColor { border: 1px solid #D480FF; }
<div style="border:3px solid #D480FF">Div</div>
This div border color is #D480FF.
.myOpacity80 { color: #D480FF; opacity: 0.8; }
<p style="color:#D480FF;opacity:0.8;">80%</p>
Text with #D480FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D480FF;}
<p style="text-shadow: 3px 3px 1px #D480FF">Text here.</p>
This text has shadow with #D480FF color.
.textShadow {text-shadow: 3px 3px 1px #D480FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D480FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D480FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D480FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D480FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D480FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D480FF; -webkit-box-shadow: 1px 1px 3px 2px #D480FF; box-shadow: 1px 1px 3px 2px #D480FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D480FF; -webkit-box-shadow: 1px 1px 3px 2px #D480FF; box-shadow:1px 1px 3px 2px #D480FF;">
Div content here</div>
This text has color #D480FF on black background.
This text has color #D480FF on white background.
This text has black color on #D480FF background.
This text has white color on #D480FF background.