COLOR #335197

HEX: #335197
RGB: (51,81,151)

Color info

#335197 contains mainly blue color. Web safe color of #335197 is #336699 (or #369).

RGB color model

#335197 color RGB value is (51,81,151).

  • red value is 51;
  • green value is 81;
  • blue value is 151.
RGB:
(51,81,151)
(20%,32%,59%)

RGB channels and saturation

R 51 of 255 = 20%
G 81 of 255 = 32%
B 151 of 255 = 59%

51
81
151

R + G + B ~ 37%. #335197 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 81 + 151 = 283 (100%)
R 51 of 283 ~ 18.02%
G 81 of 283 ~ 28.62%
B 151 of 283 ~ 53.36%

%18.02
%28.62
%53.36

CMYK color model

#335197 color CMYK value is (66,46,0,41).

  • cyan value is 66.23%
  • magenta value is 46.36%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK:
(66,46,0,41)
C66M46Y0K41 
(66%,46%,0%,41%)
(0.66/0.46/0.00/0.41)	

CMYK percentages

%66.23
%46.36
%0
%40.78

Codes

Color #335197 in popluar color models

335197
RGB5181151
HSL222°49.50%39.61%
HSB/HSV222°66.23%59.22%
CMYK66.23%46.36%0.00%
40.78%

Color #335197 in popluar number systems.

HEX335197
Decimal5181151
Binary110011101000110010111
Octal63121227

Shades and tints

Shades of #335197

#335197
(51,81,151)
#2F4A8A
(47,74,138)
#2B437D
(43,67,125)
#273C70
(39,60,112)
#233563
(35,53,99)
#1F2E56
(31,46,86)
#1B2749
(27,39,73)
#17203C
(23,32,60)
#13192F
(19,25,47)
#0F1222
(15,18,34)
#0B0B15
(11,11,21)
#000000
(0,0,0)

Tints of #335197

#335197
(51,81,151)
#4560A0
(69,96,160)
#576FA9
(87,111,169)
#697EB2
(105,126,178)
#7B8DBB
(123,141,187)
#8D9CC4
(141,156,196)
#9FABCD
(159,171,205)
#B1BAD6
(177,186,214)
#C3C9DF
(195,201,223)
#D5D8E8
(213,216,232)
#E7E7F1
(231,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335197 color. Also use rgb(51,81,151) instead hex code.

Text Font Color

.myTextColor { color: #335197; }

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

This text font color is #335197.


Background Color

.myBgColor { background-color: #335197; }

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

This div background color is #335197.


Border color

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

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

This div border color is #335197.


Opacity

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

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

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

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

This text has shadow with #335197 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #335197 on black background.


Color preview on white background

This text has color #335197 on white background.



Black color preview on #335197 background

This text has black color on #335197 background.


White color preview on #335197 background

This text has white color on #335197 background.