COLOR #331859

HEX: #331859
RGB: (51,24,89)

Color info

#331859 contains mainly red and blue colors. Web safe color of #331859 is #330066 (or #306).

RGB color model

#331859 color RGB value is (51,24,89).

  • red value is 51;
  • green value is 24;
  • blue value is 89.
RGB:
(51,24,89)
(20%,9%,35%)

RGB channels and saturation

R 51 of 255 = 20%
G 24 of 255 = 9%
B 89 of 255 = 35%

51
24
89

R + G + B ~ 21%. #331859 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 24 + 89 = 164 (100%)
R 51 of 164 ~ 31.1%
G 24 of 164 ~ 14.63%
B 89 of 164 ~ 54.27%

%31.1
%14.63
%54.27

CMYK color model

#331859 color CMYK value is (43,73,0,65).

  • cyan value is 42.70%
  • magenta value is 73.03%
  • yellow value is 0.00%
  • key color value is 65.10%
CMYK:
(43,73,0,65)
C43M73Y0K65 
(43%,73%,0%,65%)
(0.43/0.73/0.00/0.65)	

CMYK percentages

%42.7
%73.03
%0
%65.1

Codes

Color #331859 in popluar color models

331859
RGB512489
HSL265°57.52%22.16%
HSB/HSV265°73.03%34.90%
CMYK42.70%73.03%0.00%
65.10%

Color #331859 in popluar number systems.

HEX331859
Decimal512489
Binary110011110001011001
Octal6330131

Shades and tints

Shades of #331859

#331859
(51,24,89)
#2F1651
(47,22,81)
#2B1449
(43,20,73)
#271241
(39,18,65)
#231039
(35,16,57)
#1F0E31
(31,14,49)
#1B0C29
(27,12,41)
#170A21
(23,10,33)
#130819
(19,8,25)
#0F0611
(15,6,17)
#0B0409
(11,4,9)
#000000
(0,0,0)

Tints of #331859

#331859
(51,24,89)
#452D68
(69,45,104)
#574277
(87,66,119)
#695786
(105,87,134)
#7B6C95
(123,108,149)
#8D81A4
(141,129,164)
#9F96B3
(159,150,179)
#B1ABC2
(177,171,194)
#C3C0D1
(195,192,209)
#D5D5E0
(213,213,224)
#E7EAEF
(231,234,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331859 color. Also use rgb(51,24,89) instead hex code.

Text Font Color

.myTextColor { color: #331859; }

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

This text font color is #331859.


Background Color

.myBgColor { background-color: #331859; }

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

This div background color is #331859.


Border color

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

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

This div border color is #331859.


Opacity

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

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

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

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

This text has shadow with #331859 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331859 on black background.


Color preview on white background

This text has color #331859 on white background.



Black color preview on #331859 background

This text has black color on #331859 background.


White color preview on #331859 background

This text has white color on #331859 background.