HEX: #480C1A
RGB: (72,12,26)
#480C1A contains mainly red and blue colors. Web safe color of #480C1A is #330000 (or #300).
#480C1A color RGB value is (72,12,26).
RGB: (72,12,26) (28%,5%,10%)
R 72 of 255 = 28%
G 12 of 255 = 5%
B 26 of 255 = 10%
R + G + B ~ 14%. #480C1A is dark color.
R + G + B =
72 + 12 + 26 = 110 (100%)
R 72 of 110 ~ 65.45%
G 12 of 110 ~ 10.91%
B 26 of 110 ~ 23.64%
#480C1A color CMYK value is (0,83,64,72).
CMYK: (0,83,64,72) C0M83Y64K72 (0%,83%,64%,72%) (0.00/0.83/0.64/0.72)
48 | 0C | 1A | |
---|---|---|---|
RGB | 72 | 12 | 26 |
HSL | 346° | 71.43% | 16.47% |
HSB/HSV | 346° | 83.33% | 28.24% |
CMYK | 0.00% | 83.33% | 63.89% |
71.76% |
HEX | 48 | 0C | 1A |
Decimal | 72 | 12 | 26 |
Binary | 1001000 | 1100 | 11010 |
Octal | 110 | 14 | 32 |
Examples of css and html codes for elements with #480C1A color. Also use rgb(72,12,26) instead hex code.
.myTextColor { color: #480C1A; }
<p style="color:#480C1A">This sample text font color is #480C1A.</p>
This text font color is #480C1A.
.myBgColor { background-color: #480C1A; }
<div style="background-color:#480C1A">Inner text</div>
This div background color is #480C1A.
.myBorderColor { border: 1px solid #480C1A; }
<div style="border:3px solid #480C1A">Div</div>
This div border color is #480C1A.
.myOpacity80 { color: #480C1A; opacity: 0.8; }
<p style="color:#480C1A;opacity:0.8;">80%</p>
Text with #480C1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #480C1A;}
<p style="text-shadow: 3px 3px 1px #480C1A">Text here.</p>
This text has shadow with #480C1A color.
.textShadow {text-shadow: 3px 3px 1px #480C1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #480C1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #480C1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#480C1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#480C1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #480C1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #480C1A; -webkit-box-shadow: 1px 1px 3px 2px #480C1A; box-shadow: 1px 1px 3px 2px #480C1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #480C1A; -webkit-box-shadow: 1px 1px 3px 2px #480C1A; box-shadow:1px 1px 3px 2px #480C1A;">
Div content here</div>
This text has color #480C1A on black background.
This text has color #480C1A on white background.
This text has black color on #480C1A background.
This text has white color on #480C1A background.