COLOR #642740

HEX: #642740 RGB: (100,39,64)

Color info

#642740 contains mainly red and blue colors. Web safe color of #642740 is #663333 (or #633).

RGB color model

#642740 color RGB value is (100,39,64).

RGB: (100,39,64) (39%, 15%, 25%)

RGB channels and saturation

R 100 of 255 = 39%
G 39 of 255 = 15%
B 64 of 255 = 25%

100
39
64

R + G + B ~ 26%. #642740 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 100 + 39 + 64 = 203 (100%)
R 100 of 203 ~ 49.26%
G 39 of 203 ~ 19.21%
B 64 of 203 ~ 31.53'%

%49.26
%19.21
%31.53

CMYK color model

#642740 color CMYK value is (0,61,36,61).

  • cyan value is 0.00%
  • magenta value is 61.00%
  • yellow value is 36.00%
  • key color value is 60.78%
CMYK: (0,61,36,61) C0M61Y36K61 (0%,61%,36%,61%) (0.00/0.61/0.36/0.61) 

CMYK percentages

%0
%61
%36
%60.78

Codes

Color #642740 in popluar color models

64 27 40
RGB 100 39 64
HSL 335° 43.88% 27.25%
HSB/HSV 335° 61.00% 39.22%
CMYK 0.00% 61.00% 36.00%
60.78%

Color #642740 in popluar number systems.

HEX 64 27 40
Decimal 100 39 64
Binary 1100100 100111 1000000
Octal 144 47 100

Shades and tints

Shades of #642740

#642740
(100,39,64)
#5B243B
(91,36,59)
#522136
(82,33,54)
#491E31
(73,30,49)
#401B2C
(64,27,44)
#371827
(55,24,39)
#2E1522
(46,21,34)
#25121D
(37,18,29)
#1C0F18
(28,15,24)
#130C13
(19,12,19)
#0A090E
(10,9,14)
#000000
(0,0,0)

Tints of #642740

#642740
(100,39,64)
#723A51
(114,58,81)
#804D62
(128,77,98)
#8E6073
(142,96,115)
#9C7384
(156,115,132)
#AA8695
(170,134,149)
#B899A6
(184,153,166)
#C6ACB7
(198,172,183)
#D4BFC8
(212,191,200)
#E2D2D9
(226,210,217)
#F0E5EA
(240,229,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #642740 color. Also use rgb(100,39,64) instead hex code.

Text Font Color

.myTextColor { color: #642740; }

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

This text font color is #642740.

Background Color

.myBgColor { background-color: #642740; }

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

This div background color is #642740.

Border color

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

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

This div border color is #642740.

Opacity

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

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

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

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

This text has shadow with #642740 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #642740.

Preview

Color preview on black background

This text has color #642740 on black background.


Color preview on white background

This text has color #642740 on white background.


Black color preview on #642740 background

This text has black color on #642740 background.


White color preview on #642740 background

This text has white color on #642740 background.


Related colors

Complementary color

Complementary color for #hex is #9BD8BF.


I love getcolorcode.com

Triadic colors

1 #406427 and #274064 with #642740 are triadic colors.

2 #402764 and #276440 with #642740 are triadic colors.