HEX: #6F25CE
RGB: (111,37,206)
#6F25CE contains mainly blue color. Web safe color of #6F25CE is #6633CC (or #63C).
#6F25CE color RGB value is (111,37,206).
RGB: (111,37,206) (44%,15%,81%)
R 111 of 255 = 44%
G 37 of 255 = 15%
B 206 of 255 = 81%
R + G + B ~ 47%. #6F25CE is middle color (not dark and not light).
R + G + B =
111 + 37 + 206 = 354 (100%)
R 111 of 354 ~ 31.36%
G 37 of 354 ~ 10.45%
B 206 of 354 ~ 58.19%
#6F25CE color CMYK value is (46,82,0,19).
CMYK: (46,82,0,19) C46M82Y0K19 (46%,82%,0%,19%) (0.46/0.82/0.00/0.19)
6F | 25 | CE | |
---|---|---|---|
RGB | 111 | 37 | 206 |
HSL | 266° | 69.55% | 47.65% |
HSB/HSV | 266° | 82.04% | 80.78% |
CMYK | 46.12% | 82.04% | 0.00% |
19.22% |
HEX | 6F | 25 | CE |
Decimal | 111 | 37 | 206 |
Binary | 1101111 | 100101 | 11001110 |
Octal | 157 | 45 | 316 |
Examples of css and html codes for elements with #6F25CE color. Also use rgb(111,37,206) instead hex code.
.myTextColor { color: #6F25CE; }
<p style="color:#6F25CE">This sample text font color is #6F25CE.</p>
This text font color is #6F25CE.
.myBgColor { background-color: #6F25CE; }
<div style="background-color:#6F25CE">Inner text</div>
This div background color is #6F25CE.
.myBorderColor { border: 1px solid #6F25CE; }
<div style="border:3px solid #6F25CE">Div</div>
This div border color is #6F25CE.
.myOpacity80 { color: #6F25CE; opacity: 0.8; }
<p style="color:#6F25CE;opacity:0.8;">80%</p>
Text with #6F25CE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6F25CE;}
<p style="text-shadow: 3px 3px 1px #6F25CE">Text here.</p>
This text has shadow with #6F25CE color.
.textShadow {text-shadow: 3px 3px 1px #6F25CE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6F25CE, 5px 5px 20px red">Text here.</p>
This text has shadow with #6F25CE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6F25CE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6F25CE, Direction=45, Strength=4)">Text</p>
This text has shadow with #6F25CE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6F25CE; -webkit-box-shadow: 1px 1px 3px 2px #6F25CE; box-shadow: 1px 1px 3px 2px #6F25CE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6F25CE; -webkit-box-shadow: 1px 1px 3px 2px #6F25CE; box-shadow:1px 1px 3px 2px #6F25CE;">
Div content here</div>
This text has color #6F25CE on black background.
This text has color #6F25CE on white background.
This text has black color on #6F25CE background.
This text has white color on #6F25CE background.