HEX: #4F426D
RGB: (79,66,109)
#4F426D contains red, green and blue colors in about the same proportion. Web safe color of #4F426D is #663366 (or #636).
#4F426D color RGB value is (79,66,109).
RGB: (79,66,109) (31%,26%,43%)
R 79 of 255 = 31%
G 66 of 255 = 26%
B 109 of 255 = 43%
R + G + B ~ 33%. #4F426D is quite dark color.
R + G + B =
79 + 66 + 109 = 254 (100%)
R 79 of 254 ~ 31.1%
G 66 of 254 ~ 25.98%
B 109 of 254 ~ 42.91%
#4F426D color CMYK value is (28,39,0,57).
CMYK: (28,39,0,57) C28M39Y0K57 (28%,39%,0%,57%) (0.28/0.39/0.00/0.57)
4F | 42 | 6D | |
---|---|---|---|
RGB | 79 | 66 | 109 |
HSL | 258° | 24.57% | 34.31% |
HSB/HSV | 258° | 39.45% | 42.75% |
CMYK | 27.52% | 39.45% | 0.00% |
57.25% |
HEX | 4F | 42 | 6D |
Decimal | 79 | 66 | 109 |
Binary | 1001111 | 1000010 | 1101101 |
Octal | 117 | 102 | 155 |
Examples of css and html codes for elements with #4F426D color. Also use rgb(79,66,109) instead hex code.
.myTextColor { color: #4F426D; }
<p style="color:#4F426D">This sample text font color is #4F426D.</p>
This text font color is #4F426D.
.myBgColor { background-color: #4F426D; }
<div style="background-color:#4F426D">Inner text</div>
This div background color is #4F426D.
.myBorderColor { border: 1px solid #4F426D; }
<div style="border:3px solid #4F426D">Div</div>
This div border color is #4F426D.
.myOpacity80 { color: #4F426D; opacity: 0.8; }
<p style="color:#4F426D;opacity:0.8;">80%</p>
Text with #4F426D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4F426D;}
<p style="text-shadow: 3px 3px 1px #4F426D">Text here.</p>
This text has shadow with #4F426D color.
.textShadow {text-shadow: 3px 3px 1px #4F426D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4F426D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4F426D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4F426D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4F426D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4F426D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4F426D; -webkit-box-shadow: 1px 1px 3px 2px #4F426D; box-shadow: 1px 1px 3px 2px #4F426D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4F426D; -webkit-box-shadow: 1px 1px 3px 2px #4F426D; box-shadow:1px 1px 3px 2px #4F426D;">
Div content here</div>
This text has color #4F426D on black background.
This text has color #4F426D on white background.
This text has black color on #4F426D background.
This text has white color on #4F426D background.