COLOR #7A1F28

HEX: #7A1F28
RGB: (122,31,40)

Color info

#7A1F28 contains mainly red color. Web safe color of #7A1F28 is #663333 (or #633).

RGB color model

#7A1F28 color RGB value is (122,31,40).

  • red value is 122;
  • green value is 31;
  • blue value is 40.
RGB:
(122,31,40)
(48%,12%,16%)

RGB channels and saturation

R 122 of 255 = 48%
G 31 of 255 = 12%
B 40 of 255 = 16%

122
31
40

R + G + B ~ 25%. #7A1F28 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
122 + 31 + 40 = 193 (100%)
R 122 of 193 ~ 63.21%
G 31 of 193 ~ 16.06%
B 40 of 193 ~ 20.73%

%63.21
%16.06
%20.73

CMYK color model

#7A1F28 color CMYK value is (0,75,67,52).

  • cyan value is 0.00%
  • magenta value is 74.59%
  • yellow value is 67.21%
  • key color value is 52.16%
CMYK:
(0,75,67,52)
C0M75Y67K52 
(0%,75%,67%,52%)
(0.00/0.75/0.67/0.52)	

CMYK percentages

%0
%74.59
%67.21
%52.16

Codes

Color #7A1F28 in popluar color models

7A1F28
RGB1223140
HSL354°59.48%30.00%
HSB/HSV354°74.59%47.84%
CMYK0.00%74.59%67.21%
52.16%

Color #7A1F28 in popluar number systems.

HEX7A1F28
Decimal1223140
Binary111101011111101000
Octal1723750

Shades and tints

Shades of #7A1F28

#7A1F28
(122,31,40)
#6F1D25
(111,29,37)
#641B22
(100,27,34)
#59191F
(89,25,31)
#4E171C
(78,23,28)
#431519
(67,21,25)
#381316
(56,19,22)
#2D1113
(45,17,19)
#220F10
(34,15,16)
#170D0D
(23,13,13)
#0C0B0A
(12,11,10)
#000000
(0,0,0)

Tints of #7A1F28

#7A1F28
(122,31,40)
#86333B
(134,51,59)
#92474E
(146,71,78)
#9E5B61
(158,91,97)
#AA6F74
(170,111,116)
#B68387
(182,131,135)
#C2979A
(194,151,154)
#CEABAD
(206,171,173)
#DABFC0
(218,191,192)
#E6D3D3
(230,211,211)
#F2E7E6
(242,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7A1F28 color. Also use rgb(122,31,40) instead hex code.

Text Font Color

.myTextColor { color: #7A1F28; }

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

This text font color is #7A1F28.


Background Color

.myBgColor { background-color: #7A1F28; }

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

This div background color is #7A1F28.


Border color

.myBorderColor { border: 1px solid #7A1F28; }

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

This div border color is #7A1F28.


Opacity

.myOpacity80 { color: #7A1F28; opacity: 0.8; }

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

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

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

This text has shadow with #7A1F28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7A1F28 on black background.


Color preview on white background

This text has color #7A1F28 on white background.



Black color preview on #7A1F28 background

This text has black color on #7A1F28 background.


White color preview on #7A1F28 background

This text has white color on #7A1F28 background.