COLOR #42314F

HEX: #42314F
RGB: (66,49,79)

Color info

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

RGB color model

#42314F color RGB value is (66,49,79).

  • red value is 66;
  • green value is 49;
  • blue value is 79.
RGB:
(66,49,79)
(26%,19%,31%)

RGB channels and saturation

R 66 of 255 = 26%
G 49 of 255 = 19%
B 79 of 255 = 31%

66
49
79

R + G + B ~ 25%. #42314F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 49 + 79 = 194 (100%)
R 66 of 194 ~ 34.02%
G 49 of 194 ~ 25.26%
B 79 of 194 ~ 40.72%

%34.02
%25.26
%40.72

CMYK color model

#42314F color CMYK value is (16,38,0,69).

  • cyan value is 16.46%
  • magenta value is 37.97%
  • yellow value is 0.00%
  • key color value is 69.02%
CMYK:
(16,38,0,69)
C16M38Y0K69 
(16%,38%,0%,69%)
(0.16/0.38/0.00/0.69)	

CMYK percentages

%16.46
%37.97
%0
%69.02

Codes

Color #42314F in popluar color models

42314F
RGB664979
HSL274°23.44%25.10%
HSB/HSV274°37.97%30.98%
CMYK16.46%37.97%0.00%
69.02%

Color #42314F in popluar number systems.

HEX42314F
Decimal664979
Binary10000101100011001111
Octal10261117

Shades and tints

Shades of #42314F

#42314F
(66,49,79)
#3C2D48
(60,45,72)
#362941
(54,41,65)
#30253A
(48,37,58)
#2A2133
(42,33,51)
#241D2C
(36,29,44)
#1E1925
(30,25,37)
#18151E
(24,21,30)
#121117
(18,17,23)
#0C0D10
(12,13,16)
#060909
(6,9,9)
#000000
(0,0,0)

Tints of #42314F

#42314F
(66,49,79)
#53435F
(83,67,95)
#64556F
(100,85,111)
#75677F
(117,103,127)
#86798F
(134,121,143)
#978B9F
(151,139,159)
#A89DAF
(168,157,175)
#B9AFBF
(185,175,191)
#CAC1CF
(202,193,207)
#DBD3DF
(219,211,223)
#ECE5EF
(236,229,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42314F color. Also use rgb(66,49,79) instead hex code.

Text Font Color

.myTextColor { color: #42314F; }

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

This text font color is #42314F.


Background Color

.myBgColor { background-color: #42314F; }

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

This div background color is #42314F.


Border color

.myBorderColor { border: 1px solid #42314F; }

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

This div border color is #42314F.


Opacity

.myOpacity80 { color: #42314F; opacity: 0.8; }

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

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

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

This text has shadow with #42314F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #42314F on black background.


Color preview on white background

This text has color #42314F on white background.



Black color preview on #42314F background

This text has black color on #42314F background.


White color preview on #42314F background

This text has white color on #42314F background.