HEX: #784BD9
RGB: (120,75,217)
#784BD9 contains mainly blue color. Web safe color of #784BD9 is #6633CC (or #63C).
#784BD9 color RGB value is (120,75,217).
RGB: (120,75,217) (47%,29%,85%)
R 120 of 255 = 47%
G 75 of 255 = 29%
B 217 of 255 = 85%
R + G + B ~ 54%. #784BD9 is middle color (not dark and not light).
R + G + B =
120 + 75 + 217 = 412 (100%)
R 120 of 412 ~ 29.13%
G 75 of 412 ~ 18.2%
B 217 of 412 ~ 52.67%
#784BD9 color CMYK value is (45,65,0,15).
CMYK: (45,65,0,15) C45M65Y0K15 (45%,65%,0%,15%) (0.45/0.65/0.00/0.15)
78 | 4B | D9 | |
---|---|---|---|
RGB | 120 | 75 | 217 |
HSL | 259° | 65.14% | 57.25% |
HSB/HSV | 259° | 65.44% | 85.10% |
CMYK | 44.70% | 65.44% | 0.00% |
14.90% |
HEX | 78 | 4B | D9 |
Decimal | 120 | 75 | 217 |
Binary | 1111000 | 1001011 | 11011001 |
Octal | 170 | 113 | 331 |
Examples of css and html codes for elements with #784BD9 color. Also use rgb(120,75,217) instead hex code.
.myTextColor { color: #784BD9; }
<p style="color:#784BD9">This sample text font color is #784BD9.</p>
This text font color is #784BD9.
.myBgColor { background-color: #784BD9; }
<div style="background-color:#784BD9">Inner text</div>
This div background color is #784BD9.
.myBorderColor { border: 1px solid #784BD9; }
<div style="border:3px solid #784BD9">Div</div>
This div border color is #784BD9.
.myOpacity80 { color: #784BD9; opacity: 0.8; }
<p style="color:#784BD9;opacity:0.8;">80%</p>
Text with #784BD9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #784BD9;}
<p style="text-shadow: 3px 3px 1px #784BD9">Text here.</p>
This text has shadow with #784BD9 color.
.textShadow {text-shadow: 3px 3px 1px #784BD9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #784BD9, 5px 5px 20px red">Text here.</p>
This text has shadow with #784BD9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#784BD9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#784BD9, Direction=45, Strength=4)">Text</p>
This text has shadow with #784BD9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #784BD9; -webkit-box-shadow: 1px 1px 3px 2px #784BD9; box-shadow: 1px 1px 3px 2px #784BD9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #784BD9; -webkit-box-shadow: 1px 1px 3px 2px #784BD9; box-shadow:1px 1px 3px 2px #784BD9;">
Div content here</div>
This text has color #784BD9 on black background.
This text has color #784BD9 on white background.
This text has black color on #784BD9 background.
This text has white color on #784BD9 background.