HEX: #FF0742
RGB: (255,7,66)
#FF0742 contains mainly red color. Web safe color of #FF0742 is #FF0033 (or #F03).
#FF0742 color RGB value is (255,7,66).
RGB: (255,7,66) (100%,3%,26%)
R 255 of 255 = 100%
G 7 of 255 = 3%
B 66 of 255 = 26%
R + G + B ~ 43%. #FF0742 is middle color (not dark and not light).
R + G + B =
255 + 7 + 66 = 328 (100%)
R 255 of 328 ~ 77.74%
G 7 of 328 ~ 2.13%
B 66 of 328 ~ 20.12%
#FF0742 color CMYK value is (0,97,74,0).
CMYK: (0,97,74,0) C0M97Y74K0 (0%,97%,74%,0%) (0.00/0.97/0.74/0.00)
FF | 07 | 42 | |
---|---|---|---|
RGB | 255 | 7 | 66 |
HSL | 346° | 100.00% | 51.37% |
HSB/HSV | 346° | 97.25% | 100.00% |
CMYK | 0.00% | 97.25% | 74.12% |
0.00% |
HEX | FF | 07 | 42 |
Decimal | 255 | 7 | 66 |
Binary | 11111111 | 111 | 1000010 |
Octal | 377 | 7 | 102 |
Examples of css and html codes for elements with #FF0742 color. Also use rgb(255,7,66) instead hex code.
.myTextColor { color: #FF0742; }
<p style="color:#FF0742">This sample text font color is #FF0742.</p>
This text font color is #FF0742.
.myBgColor { background-color: #FF0742; }
<div style="background-color:#FF0742">Inner text</div>
This div background color is #FF0742.
.myBorderColor { border: 1px solid #FF0742; }
<div style="border:3px solid #FF0742">Div</div>
This div border color is #FF0742.
.myOpacity80 { color: #FF0742; opacity: 0.8; }
<p style="color:#FF0742;opacity:0.8;">80%</p>
Text with #FF0742 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FF0742;}
<p style="text-shadow: 3px 3px 1px #FF0742">Text here.</p>
This text has shadow with #FF0742 color.
.textShadow {text-shadow: 3px 3px 1px #FF0742, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FF0742, 5px 5px 20px red">Text here.</p>
This text has shadow with #FF0742 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FF0742, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FF0742, Direction=45, Strength=4)">Text</p>
This text has shadow with #FF0742 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FF0742; -webkit-box-shadow: 1px 1px 3px 2px #FF0742; box-shadow: 1px 1px 3px 2px #FF0742; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FF0742; -webkit-box-shadow: 1px 1px 3px 2px #FF0742; box-shadow:1px 1px 3px 2px #FF0742;">
Div content here</div>
This text has color #FF0742 on black background.
This text has color #FF0742 on white background.
This text has black color on #FF0742 background.
This text has white color on #FF0742 background.