HEX: #742BAD
RGB: (116,43,173)
#742BAD contains mainly red and blue colors. Web safe color of #742BAD is #663399 (or #639).
#742BAD color RGB value is (116,43,173).
RGB: (116,43,173) (45%,17%,68%)
R 116 of 255 = 45%
G 43 of 255 = 17%
B 173 of 255 = 68%
R + G + B ~ 43%. #742BAD is middle color (not dark and not light).
R + G + B =
116 + 43 + 173 = 332 (100%)
R 116 of 332 ~ 34.94%
G 43 of 332 ~ 12.95%
B 173 of 332 ~ 52.11%
#742BAD color CMYK value is (33,75,0,32).
CMYK: (33,75,0,32) C33M75Y0K32 (33%,75%,0%,32%) (0.33/0.75/0.00/0.32)
74 | 2B | AD | |
---|---|---|---|
RGB | 116 | 43 | 173 |
HSL | 274° | 60.19% | 42.35% |
HSB/HSV | 274° | 75.14% | 67.84% |
CMYK | 32.95% | 75.14% | 0.00% |
32.16% |
HEX | 74 | 2B | AD |
Decimal | 116 | 43 | 173 |
Binary | 1110100 | 101011 | 10101101 |
Octal | 164 | 53 | 255 |
Examples of css and html codes for elements with #742BAD color. Also use rgb(116,43,173) instead hex code.
.myTextColor { color: #742BAD; }
<p style="color:#742BAD">This sample text font color is #742BAD.</p>
This text font color is #742BAD.
.myBgColor { background-color: #742BAD; }
<div style="background-color:#742BAD">Inner text</div>
This div background color is #742BAD.
.myBorderColor { border: 1px solid #742BAD; }
<div style="border:3px solid #742BAD">Div</div>
This div border color is #742BAD.
.myOpacity80 { color: #742BAD; opacity: 0.8; }
<p style="color:#742BAD;opacity:0.8;">80%</p>
Text with #742BAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #742BAD;}
<p style="text-shadow: 3px 3px 1px #742BAD">Text here.</p>
This text has shadow with #742BAD color.
.textShadow {text-shadow: 3px 3px 1px #742BAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #742BAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #742BAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#742BAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#742BAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #742BAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #742BAD; -webkit-box-shadow: 1px 1px 3px 2px #742BAD; box-shadow: 1px 1px 3px 2px #742BAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #742BAD; -webkit-box-shadow: 1px 1px 3px 2px #742BAD; box-shadow:1px 1px 3px 2px #742BAD;">
Div content here</div>
This text has color #742BAD on black background.
This text has color #742BAD on white background.
This text has black color on #742BAD background.
This text has white color on #742BAD background.