COLOR #331299

HEX: #331299
RGB: (51,18,153)

Color info

#331299 contains mainly blue color. Web safe color of #331299 is #330099 (or #309).

RGB color model

#331299 color RGB value is (51,18,153).

  • red value is 51;
  • green value is 18;
  • blue value is 153.
RGB:
(51,18,153)
(20%,7%,60%)

RGB channels and saturation

R 51 of 255 = 20%
G 18 of 255 = 7%
B 153 of 255 = 60%

51
18
153

R + G + B ~ 29%. #331299 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 18 + 153 = 222 (100%)
R 51 of 222 ~ 22.97%
G 18 of 222 ~ 8.11%
B 153 of 222 ~ 68.92%

%22.97
%68.92

CMYK color model

#331299 color CMYK value is (67,88,0,40).

  • cyan value is 66.67%
  • magenta value is 88.24%
  • yellow value is 0.00%
  • key color value is 40.00%
CMYK:
(67,88,0,40)
C67M88Y0K40 
(67%,88%,0%,40%)
(0.67/0.88/0.00/0.40)	

CMYK percentages

%66.67
%88.24
%0
%40

Codes

Color #331299 in popluar color models

331299
RGB5118153
HSL255°78.95%33.53%
HSB/HSV255°88.24%60.00%
CMYK66.67%88.24%0.00%
40.00%

Color #331299 in popluar number systems.

HEX331299
Decimal5118153
Binary1100111001010011001
Octal6322231

Shades and tints

Shades of #331299

#331299
(51,18,153)
#2F118C
(47,17,140)
#2B107F
(43,16,127)
#270F72
(39,15,114)
#230E65
(35,14,101)
#1F0D58
(31,13,88)
#1B0C4B
(27,12,75)
#170B3E
(23,11,62)
#130A31
(19,10,49)
#0F0924
(15,9,36)
#0B0817
(11,8,23)
#000000
(0,0,0)

Tints of #331299

#331299
(51,18,153)
#4527A2
(69,39,162)
#573CAB
(87,60,171)
#6951B4
(105,81,180)
#7B66BD
(123,102,189)
#8D7BC6
(141,123,198)
#9F90CF
(159,144,207)
#B1A5D8
(177,165,216)
#C3BAE1
(195,186,225)
#D5CFEA
(213,207,234)
#E7E4F3
(231,228,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #331299 color. Also use rgb(51,18,153) instead hex code.

Text Font Color

.myTextColor { color: #331299; }

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

This text font color is #331299.


Background Color

.myBgColor { background-color: #331299; }

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

This div background color is #331299.


Border color

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

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

This div border color is #331299.


Opacity

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

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

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

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

This text has shadow with #331299 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #331299 on black background.


Color preview on white background

This text has color #331299 on white background.



Black color preview on #331299 background

This text has black color on #331299 background.


White color preview on #331299 background

This text has white color on #331299 background.