COLOR #330842

HEX: #330842
RGB: (51,8,66)

Color info

#330842 contains red, green and blue colors in about the same proportion. Web safe color of #330842 is #330033 (or #303).

RGB color model

#330842 color RGB value is (51,8,66).

  • red value is 51;
  • green value is 8;
  • blue value is 66.
RGB:
(51,8,66)
(20%,3%,26%)

RGB channels and saturation

R 51 of 255 = 20%
G 8 of 255 = 3%
B 66 of 255 = 26%

51
8
66

R + G + B ~ 16%. #330842 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 8 + 66 = 125 (100%)
R 51 of 125 ~ 40.8%
G 8 of 125 ~ 6.4%
B 66 of 125 ~ 52.8%

%40.8
%52.8

CMYK color model

#330842 color CMYK value is (23,88,0,74).

  • cyan value is 22.73%
  • magenta value is 87.88%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(23,88,0,74)
C23M88Y0K74 
(23%,88%,0%,74%)
(0.23/0.88/0.00/0.74)	

CMYK percentages

%22.73
%87.88
%0
%74.12

Codes

Color #330842 in popluar color models

330842
RGB51866
HSL284°78.38%14.51%
HSB/HSV284°87.88%25.88%
CMYK22.73%87.88%0.00%
74.12%

Color #330842 in popluar number systems.

HEX330842
Decimal51866
Binary11001110001000010
Octal6310102

Shades and tints

Shades of #330842

#330842
(51,8,66)
#2F083C
(47,8,60)
#2B0836
(43,8,54)
#270830
(39,8,48)
#23082A
(35,8,42)
#1F0824
(31,8,36)
#1B081E
(27,8,30)
#170818
(23,8,24)
#130812
(19,8,18)
#0F080C
(15,8,12)
#0B0806
(11,8,6)
#000000
(0,0,0)

Tints of #330842

#330842
(51,8,66)
#451E53
(69,30,83)
#573464
(87,52,100)
#694A75
(105,74,117)
#7B6086
(123,96,134)
#8D7697
(141,118,151)
#9F8CA8
(159,140,168)
#B1A2B9
(177,162,185)
#C3B8CA
(195,184,202)
#D5CEDB
(213,206,219)
#E7E4EC
(231,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #330842 color. Also use rgb(51,8,66) instead hex code.

Text Font Color

.myTextColor { color: #330842; }

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

This text font color is #330842.


Background Color

.myBgColor { background-color: #330842; }

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

This div background color is #330842.


Border color

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

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

This div border color is #330842.


Opacity

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

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

Text with #330842 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 #330842;}

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

This text has shadow with #330842 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #330842 on black background.


Color preview on white background

This text has color #330842 on white background.



Black color preview on #330842 background

This text has black color on #330842 background.


White color preview on #330842 background

This text has white color on #330842 background.