HEX: #480812
RGB: (72,8,18)
#480812 contains mainly red and blue colors. Web safe color of #480812 is #330000 (or #300).
#480812 color RGB value is (72,8,18).
RGB: (72,8,18) (28%,3%,7%)
R 72 of 255 = 28%
G 8 of 255 = 3%
B 18 of 255 = 7%
R + G + B ~ 13%. #480812 is dark color.
R + G + B =
72 + 8 + 18 = 98 (100%)
R 72 of 98 ~ 73.47%
G 8 of 98 ~ 8.16%
B 18 of 98 ~ 18.37%
#480812 color CMYK value is (0,89,75,72).
CMYK: (0,89,75,72) C0M89Y75K72 (0%,89%,75%,72%) (0.00/0.89/0.75/0.72)
48 | 08 | 12 | |
---|---|---|---|
RGB | 72 | 8 | 18 |
HSL | 351° | 80.00% | 15.69% |
HSB/HSV | 351° | 88.89% | 28.24% |
CMYK | 0.00% | 88.89% | 75.00% |
71.76% |
HEX | 48 | 08 | 12 |
Decimal | 72 | 8 | 18 |
Binary | 1001000 | 1000 | 10010 |
Octal | 110 | 10 | 22 |
Examples of css and html codes for elements with #480812 color. Also use rgb(72,8,18) instead hex code.
.myTextColor { color: #480812; }
<p style="color:#480812">This sample text font color is #480812.</p>
This text font color is #480812.
.myBgColor { background-color: #480812; }
<div style="background-color:#480812">Inner text</div>
This div background color is #480812.
.myBorderColor { border: 1px solid #480812; }
<div style="border:3px solid #480812">Div</div>
This div border color is #480812.
.myOpacity80 { color: #480812; opacity: 0.8; }
<p style="color:#480812;opacity:0.8;">80%</p>
Text with #480812 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #480812;}
<p style="text-shadow: 3px 3px 1px #480812">Text here.</p>
This text has shadow with #480812 color.
.textShadow {text-shadow: 3px 3px 1px #480812, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #480812, 5px 5px 20px red">Text here.</p>
This text has shadow with #480812 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#480812, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#480812, Direction=45, Strength=4)">Text</p>
This text has shadow with #480812 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #480812; -webkit-box-shadow: 1px 1px 3px 2px #480812; box-shadow: 1px 1px 3px 2px #480812; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #480812; -webkit-box-shadow: 1px 1px 3px 2px #480812; box-shadow:1px 1px 3px 2px #480812;">
Div content here</div>
This text has color #480812 on black background.
This text has color #480812 on white background.
This text has black color on #480812 background.
This text has white color on #480812 background.