
color - CSS: Cascading Style Sheets | MDN - MDN Web Docs
4 days ago · The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value. currentcolor may be used as an indirect value on other properties and is the default for other color properties, such as border-color.
color() - CSS: Cascading Style Sheets | MDN - MDN Web Docs
Dec 14, 2024 · The color() functional notation allows a color to be specified in a particular, specified color space rather than the implicit sRGB color space that most of the other color functions operate in.
rgb() - CSS: Cascading Style Sheets | MDN - MDN Web Docs
4 days ago · The rgb() functional notation expresses a color in the sRGB color space according to its red, green, and blue components. An optional alpha component represents the color's transparency.
rgba () - CSS: Cascading Style Sheets | MDN
The rgba() functional notation expresses a color according to its red, green, and blue components. An optional alpha component represents the color's transparency. Note: CSS Colors Level 4 allows for space-separated in addition to comma-separated values.
CSS Colors - W3Schools
All modern browsers support the following 140 color names (click on a color name, or a hex value, to view the color as the background-color along with different text colors): For a full overview of CSS colors, visit our colors tutorial.
color - CSS | MDN
Jul 21, 2017 · The color CSS property sets the foreground color value of an element's text content and text decorations. It also sets the <currentcolor> value, which may be used as an indirect value on other properties, and is the default for other color properties, such as border-color.
Color picker tool - CSS | MDN - devdoc.net
Apr 15, 2017 · This tool makes it easy to create, adjust, and experiment with custom colors for the web. It also makes it easy to convert between various color formats supported by CSS, including: HEXA colors, RGB (Red/Green/Blue) and HSL (Hue/Staturation/Lightness). Control over the alpha channel is also supported on RGB (rgba) and HSL (hsla) formats.
<color> - CSS: Cascading Style Sheets | MDN - MDN Web Docs
Mar 6, 2025 · The <color> CSS data type represents a color. A <color> may also include an alpha-channel transparency value, indicating how the color should composite with its background.
<named-color> - CSS: Cascading Style Sheets | MDN - MDN Web Docs
Feb 13, 2025 · The <named-color> CSS data type is the name of a color, such as red, blue, black, or lightseagreen. Syntactically, a <named-color> is an <ident> . A <named-color> value can be used anywhere a <color> can be used.
color - CSS-Tricks
Jul 11, 2022 · The color property in CSS sets the color of text and text decorations. p { color: blue; } Values. The color property can accept any CSS color value. Named colors: for example, “aqua”. Hex colors: for example, #00FFFF or #0FF. RGB and RGBa colors: for example, rgb(0, 255, 255) and rgba(0, 255, 255, .5).