COLOR #D5252F

HEX: #D5252F
RGB: (213,37,47)

Color info

#D5252F contains mainly red color. Web safe color of #D5252F is #CC3333 (or #C33).

RGB color model

#D5252F color RGB value is (213,37,47).

  • red value is 213;
  • green value is 37;
  • blue value is 47.
RGB:
(213,37,47)
(84%,15%,18%)

RGB channels and saturation

R 213 of 255 = 84%
G 37 of 255 = 15%
B 47 of 255 = 18%

213
37
47

R + G + B ~ 39%. #D5252F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
213 + 37 + 47 = 297 (100%)
R 213 of 297 ~ 71.72%
G 37 of 297 ~ 12.46%
B 47 of 297 ~ 15.82%

%71.72
%12.46
%15.82

CMYK color model

#D5252F color CMYK value is (0,83,78,16).

  • cyan value is 0.00%
  • magenta value is 82.63%
  • yellow value is 77.93%
  • key color value is 16.47%
CMYK:
(0,83,78,16)
C0M83Y78K16 
(0%,83%,78%,16%)
(0.00/0.83/0.78/0.16)	

CMYK percentages

%0
%82.63
%77.93
%16.47

Codes

Color #D5252F in popluar color models

D5252F
RGB2133747
HSL357°70.40%49.02%
HSB/HSV357°82.63%83.53%
CMYK0.00%82.63%77.93%
16.47%

Color #D5252F in popluar number systems.

HEXD5252F
Decimal2133747
Binary11010101100101101111
Octal3254557

Shades and tints

Shades of #D5252F

#D5252F
(213,37,47)
#C2222B
(194,34,43)
#AF1F27
(175,31,39)
#9C1C23
(156,28,35)
#89191F
(137,25,31)
#76161B
(118,22,27)
#631317
(99,19,23)
#501013
(80,16,19)
#3D0D0F
(61,13,15)
#2A0A0B
(42,10,11)
#170707
(23,7,7)
#000000
(0,0,0)

Tints of #D5252F

#D5252F
(213,37,47)
#D83841
(216,56,65)
#DB4B53
(219,75,83)
#DE5E65
(222,94,101)
#E17177
(225,113,119)
#E48489
(228,132,137)
#E7979B
(231,151,155)
#EAAAAD
(234,170,173)
#EDBDBF
(237,189,191)
#F0D0D1
(240,208,209)
#F3E3E3
(243,227,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #D5252F color. Also use rgb(213,37,47) instead hex code.

Text Font Color

.myTextColor { color: #D5252F; }

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

This text font color is #D5252F.


Background Color

.myBgColor { background-color: #D5252F; }

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

This div background color is #D5252F.


Border color

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

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

This div border color is #D5252F.


Opacity

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

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

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

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

This text has shadow with #D5252F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #D5252F on black background.


Color preview on white background

This text has color #D5252F on white background.



Black color preview on #D5252F background

This text has black color on #D5252F background.


White color preview on #D5252F background

This text has white color on #D5252F background.