COLOR #311358

HEX: #311358 RGB: (49,19,88)

Color info

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

RGB color model

#311358 color RGB value is (49,19,88).

RGB: (49,19,88) (19%, 7%, 35%)

RGB channels and saturation

R 49 of 255 = 19%
G 19 of 255 = 7%
B 88 of 255 = 35%

49
19
88

R + G + B ~ 20%. #311358 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 19 + 88 = 156 (100%)
R 49 of 156 ~ 31.41%
G 19 of 156 ~ 12.18%
B 88 of 156 ~ 56.41'%

%31.41
%12.18
%56.41

CMYK color model

#311358 color CMYK value is (44,78,0,65).

  • cyan value is 44.32%
  • magenta value is 78.41%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (44,78,0,65)
C44M78Y0K65 (44%, 78%, 0%, 65%)
(0.44 / 0.78 / 0.00 / 0.65)

CMYK percentages

%44.32
%78.41
%0
%65.49

Codes

Color #311358 in popluar color models

31 13 58
RGB 49 19 88
HSL 266° 64.49% 20.98%
HSB/HSV 266° 78.41% 34.51%
CMYK 44.32% 78.41% 0.00%
65.49%

Color #311358 in popluar number systems.

HEX 31 13 58
Decimal 49 19 88
Binary 110001 10011 1011000
Octal 61 23 130

Shades and tints

Shades of #311358

#311358
(49,19,88)
#2D1250
(45,18,80)
#291148
(41,17,72)
#251040
(37,16,64)
#210F38
(33,15,56)
#1D0E30
(29,14,48)
#190D28
(25,13,40)
#150C20
(21,12,32)
#110B18
(17,11,24)
#0D0A10
(13,10,16)
#090908
(9,9,8)
#000000
(0,0,0)

Tints of #311358

#311358
(49,19,88)
#432867
(67,40,103)
#553D76
(85,61,118)
#675285
(103,82,133)
#796794
(121,103,148)
#8B7CA3
(139,124,163)
#9D91B2
(157,145,178)
#AFA6C1
(175,166,193)
#C1BBD0
(193,187,208)
#D3D0DF
(211,208,223)
#E5E5EE
(229,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #311358 color. Also use rgb(49,19,88) instead hex code.

Text Font Color

.myTextColor { color: #311358; }

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

This text font color is #311358.

Background Color

.myBgColor { background-color: #311358; }

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

This div background color is #311358.

Border color

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

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

This div border color is #311358.

Opacity

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

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

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

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

This text has shadow with #311358 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #311358.

Preview

Color preview on black background

This text has color #311358 on black background.


Color preview on white background

This text has color #311358 on white background.


Black color preview on #311358 background

This text has black color on #311358 background.


White color preview on #311358 background

This text has white color on #311358 background.


Related colors

Complementary color

Complementary color for #hex is #CEECA7.


I love getcolorcode.com

Triadic colors

1 #583113 and #135831 with #311358 are triadic colors.

2 #581331 and #133158 with #311358 are triadic colors.