COLOR #840298

HEX: #840298
RGB: (132,2,152)

Color info

#840298 contains mainly red and blue colors. Web safe color of #840298 is #990099 (or #909).

RGB color model

#840298 color RGB value is (132,2,152).

  • red value is 132;
  • green value is 2;
  • blue value is 152.
RGB:
(132,2,152)
(52%,1%,60%)

RGB channels and saturation

R 132 of 255 = 52%
G 2 of 255 = 1%
B 152 of 255 = 60%

132
2
152

R + G + B ~ 38%. #840298 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
132 + 2 + 152 = 286 (100%)
R 132 of 286 ~ 46.15%
G 2 of 286 ~ 0.7%
B 152 of 286 ~ 53.15%

%46.15
%53.15

CMYK color model

#840298 color CMYK value is (13,99,0,40).

  • cyan value is 13.16%
  • magenta value is 98.68%
  • yellow value is 0.00%
  • key color value is 40.39%
CMYK:
(13,99,0,40)
C13M99Y0K40 
(13%,99%,0%,40%)
(0.13/0.99/0.00/0.40)	

CMYK percentages

%13.16
%98.68
%0
%40.39

Codes

Color #840298 in popluar color models

840298
RGB1322152
HSL292°97.40%30.20%
HSB/HSV292°98.68%59.61%
CMYK13.16%98.68%0.00%
40.39%

Color #840298 in popluar number systems.

HEX840298
Decimal1322152
Binary100001001010011000
Octal2042230

Shades and tints

Shades of #840298

#840298
(132,2,152)
#78028B
(120,2,139)
#6C027E
(108,2,126)
#600271
(96,2,113)
#540264
(84,2,100)
#480257
(72,2,87)
#3C024A
(60,2,74)
#30023D
(48,2,61)
#240230
(36,2,48)
#180223
(24,2,35)
#0C0216
(12,2,22)
#000000
(0,0,0)

Tints of #840298

#840298
(132,2,152)
#8F19A1
(143,25,161)
#9A30AA
(154,48,170)
#A547B3
(165,71,179)
#B05EBC
(176,94,188)
#BB75C5
(187,117,197)
#C68CCE
(198,140,206)
#D1A3D7
(209,163,215)
#DCBAE0
(220,186,224)
#E7D1E9
(231,209,233)
#F2E8F2
(242,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #840298 color. Also use rgb(132,2,152) instead hex code.

Text Font Color

.myTextColor { color: #840298; }

<p style="color:#840298">This sample text font color is #840298.</p>

This text font color is #840298.


Background Color

.myBgColor { background-color: #840298; }

<div style="background-color:#840298">Inner text</div>

This div background color is #840298.


Border color

.myBorderColor { border: 1px solid #840298; }

<div style="border:3px solid #840298">Div</div>

This div border color is #840298.


Opacity

.myOpacity80 { color: #840298; opacity: 0.8; }

<p style="color:#840298;opacity:0.8;">80%</p>

Text with #840298 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #840298;}

<p style="text-shadow: 3px 3px 1px #840298">Text here.</p>

This text has shadow with #840298 color.

.textShadow {text-shadow: 3px 3px 1px #840298, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #840298, 5px 5px 20px red">Text here.</p>

This text has shadow with #840298 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#840298, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#840298, Direction=45, Strength=4)">Text</p>

This text has shadow with #840298 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #840298;
  -webkit-box-shadow:	1px 1px 3px 2px #840298;
  box-shadow:		1px 1px 3px 2px #840298;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #840298;
-webkit-box-shadow: 1px 1px 3px 2px #840298;
box-shadow:1px 1px 3px 2px #840298;">
Div content here</div>
This div box has shadow with color #840298.

Preview

Color preview on black background

This text has color #840298 on black background.


Color preview on white background

This text has color #840298 on white background.



Black color preview on #840298 background

This text has black color on #840298 background.


White color preview on #840298 background

This text has white color on #840298 background.