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