HEX: #780B30
RGB: (120,11,48)
#780B30 contains mainly red color. Web safe color of #780B30 is #660033 (or #603).
#780B30 color RGB value is (120,11,48).
RGB: (120,11,48) (47%,4%,19%)
R 120 of 255 = 47%
G 11 of 255 = 4%
B 48 of 255 = 19%
R + G + B ~ 23%. #780B30 is dark color.
R + G + B =
120 + 11 + 48 = 179 (100%)
R 120 of 179 ~ 67.04%
G 11 of 179 ~ 6.15%
B 48 of 179 ~ 26.82%
#780B30 color CMYK value is (0,91,60,53).
CMYK: (0,91,60,53) C0M91Y60K53 (0%,91%,60%,53%) (0.00/0.91/0.60/0.53)
78 | 0B | 30 | |
---|---|---|---|
RGB | 120 | 11 | 48 |
HSL | 340° | 83.21% | 25.69% |
HSB/HSV | 340° | 90.83% | 47.06% |
CMYK | 0.00% | 90.83% | 60.00% |
52.94% |
HEX | 78 | 0B | 30 |
Decimal | 120 | 11 | 48 |
Binary | 1111000 | 1011 | 110000 |
Octal | 170 | 13 | 60 |
Examples of css and html codes for elements with #780B30 color. Also use rgb(120,11,48) instead hex code.
.myTextColor { color: #780B30; }
<p style="color:#780B30">This sample text font color is #780B30.</p>
This text font color is #780B30.
.myBgColor { background-color: #780B30; }
<div style="background-color:#780B30">Inner text</div>
This div background color is #780B30.
.myBorderColor { border: 1px solid #780B30; }
<div style="border:3px solid #780B30">Div</div>
This div border color is #780B30.
.myOpacity80 { color: #780B30; opacity: 0.8; }
<p style="color:#780B30;opacity:0.8;">80%</p>
Text with #780B30 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #780B30;}
<p style="text-shadow: 3px 3px 1px #780B30">Text here.</p>
This text has shadow with #780B30 color.
.textShadow {text-shadow: 3px 3px 1px #780B30, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #780B30, 5px 5px 20px red">Text here.</p>
This text has shadow with #780B30 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#780B30, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#780B30, Direction=45, Strength=4)">Text</p>
This text has shadow with #780B30 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #780B30; -webkit-box-shadow: 1px 1px 3px 2px #780B30; box-shadow: 1px 1px 3px 2px #780B30; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #780B30; -webkit-box-shadow: 1px 1px 3px 2px #780B30; box-shadow:1px 1px 3px 2px #780B30;">
Div content here</div>
This text has color #780B30 on black background.
This text has color #780B30 on white background.
This text has black color on #780B30 background.
This text has white color on #780B30 background.