HEX: #4A076D
RGB: (74,7,109)
#4A076D contains mainly red and blue colors. Web safe color of #4A076D is #330066 (or #306).
#4A076D color RGB value is (74,7,109).
RGB: (74,7,109) (29%,3%,43%)
R 74 of 255 = 29%
G 7 of 255 = 3%
B 109 of 255 = 43%
R + G + B ~ 25%. #4A076D is quite dark color.
R + G + B =
74 + 7 + 109 = 190 (100%)
R 74 of 190 ~ 38.95%
G 7 of 190 ~ 3.68%
B 109 of 190 ~ 57.37%
#4A076D color CMYK value is (32,94,0,57).
CMYK: (32,94,0,57) C32M94Y0K57 (32%,94%,0%,57%) (0.32/0.94/0.00/0.57)
4A | 07 | 6D | |
---|---|---|---|
RGB | 74 | 7 | 109 |
HSL | 279° | 87.93% | 22.75% |
HSB/HSV | 279° | 93.58% | 42.75% |
CMYK | 32.11% | 93.58% | 0.00% |
57.25% |
HEX | 4A | 07 | 6D |
Decimal | 74 | 7 | 109 |
Binary | 1001010 | 111 | 1101101 |
Octal | 112 | 7 | 155 |
Examples of css and html codes for elements with #4A076D color. Also use rgb(74,7,109) instead hex code.
.myTextColor { color: #4A076D; }
<p style="color:#4A076D">This sample text font color is #4A076D.</p>
This text font color is #4A076D.
.myBgColor { background-color: #4A076D; }
<div style="background-color:#4A076D">Inner text</div>
This div background color is #4A076D.
.myBorderColor { border: 1px solid #4A076D; }
<div style="border:3px solid #4A076D">Div</div>
This div border color is #4A076D.
.myOpacity80 { color: #4A076D; opacity: 0.8; }
<p style="color:#4A076D;opacity:0.8;">80%</p>
Text with #4A076D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4A076D;}
<p style="text-shadow: 3px 3px 1px #4A076D">Text here.</p>
This text has shadow with #4A076D color.
.textShadow {text-shadow: 3px 3px 1px #4A076D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4A076D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4A076D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A076D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4A076D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4A076D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4A076D; -webkit-box-shadow: 1px 1px 3px 2px #4A076D; box-shadow: 1px 1px 3px 2px #4A076D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4A076D; -webkit-box-shadow: 1px 1px 3px 2px #4A076D; box-shadow:1px 1px 3px 2px #4A076D;">
Div content here</div>
This text has color #4A076D on black background.
This text has color #4A076D on white background.
This text has black color on #4A076D background.
This text has white color on #4A076D background.