COLOR #31335C

HEX: #31335C RGB: (49,51,92)

Color info

#31335C contains red, green and blue colors in about the same proportion. Web safe color of #31335C is #333366 (or #336).

RGB color model

#31335C color RGB value is (49,51,92).

RGB: (49,51,92) (19%, 20%, 36%)

RGB channels and saturation

R 49 of 255 = 19%
G 51 of 255 = 20%
B 92 of 255 = 36%

49
51
92

R + G + B ~ 25%. #31335C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 51 + 92 = 192 (100%)
R 49 of 192 ~ 25.52%
G 51 of 192 ~ 26.56%
B 92 of 192 ~ 47.92'%

%25.52
%26.56
%47.92

CMYK color model

#31335C color CMYK value is (47,45,0,64).

  • cyan value is 46.74%
  • magenta value is 44.57%
  • yellow value is 0.00%
  • key color value is 63.92%

CMYK: (47,45,0,64)
C47M45Y0K64 (47%, 45%, 0%, 64%)
(0.47 / 0.45 / 0.00 / 0.64)

CMYK percentages

%46.74
%44.57
%0
%63.92

Codes

Color #31335C in popluar color models

31 33 5C
RGB 49 51 92
HSL 237° 30.50% 27.65%
HSB/HSV 237° 46.74% 36.08%
CMYK 46.74% 44.57% 0.00%
63.92%

Color #31335C in popluar number systems.

HEX 31 33 5C
Decimal 49 51 92
Binary 110001 110011 1011100
Octal 61 63 134

Shades and tints

Shades of #31335C

#31335C
(49,51,92)
#2D2F54
(45,47,84)
#292B4C
(41,43,76)
#252744
(37,39,68)
#21233C
(33,35,60)
#1D1F34
(29,31,52)
#191B2C
(25,27,44)
#151724
(21,23,36)
#11131C
(17,19,28)
#0D0F14
(13,15,20)
#090B0C
(9,11,12)
#000000
(0,0,0)

Tints of #31335C

#31335C
(49,51,92)
#43456A
(67,69,106)
#555778
(85,87,120)
#676986
(103,105,134)
#797B94
(121,123,148)
#8B8DA2
(139,141,162)
#9D9FB0
(157,159,176)
#AFB1BE
(175,177,190)
#C1C3CC
(193,195,204)
#D3D5DA
(211,213,218)
#E5E7E8
(229,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31335C color. Also use rgb(49,51,92) instead hex code.

Text Font Color

.myTextColor { color: #31335C; }

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

This text font color is #31335C.

Background Color

.myBgColor { background-color: #31335C; }

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

This div background color is #31335C.

Border color

.myBorderColor { border: 1px solid #31335C; }

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

This div border color is #31335C.

Opacity

.myOpacity80 { color: #31335C; opacity: 0.8; }

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

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

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

This text has shadow with #31335C color.


.textShadow {text-shadow: 3px 3px 1px #31335C', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #31335C; -webkit-box-shadow: 1px 1px 3px 2px #31335C; box-shadow:1px 1px 3px 2px #31335C;">
Div content here
</div>

This div box has shadow with color #31335C.

Preview

Color preview on black background

This text has color #31335C on black background.


Color preview on white background

This text has color #31335C on white background.


Black color preview on #31335C background

This text has black color on #31335C background.


White color preview on #31335C background

This text has white color on #31335C background.


Related colors

Complementary color

Complementary color for #hex is #CECCA3.


I love getcolorcode.com

Triadic colors

1 #5C3133 and #335C31 with #31335C are triadic colors.

2 #5C3331 and #33315C with #31335C are triadic colors.