Account
Categories

Color Picker, Color Values and HTML Color Examples


1. Color Picker:

You can use a color picker to choose a color for HTML and CSS ().

Example:

<input type="color">

Output:

List of Color Picker usage:

  • Select color visually
  • Get the color code
  • Use in HTML/CSS

2. Color Values:

You can use different color values like color names, hex codes, RGB, RGBA, HSL, and HSLA in HTML and CSS.

Example:

<p style="color:#0000ff;">
This example shows a color value.
</p>

Output:

This example shows a color value.


List of Color Values as follows:

  • Color Names
  • Hex Color Codes
  • RGB Colors
  • RGBA Colors
  • HSL Colors
  • HSLA Colors

3. HTML Color Examples:

You can apply color to text, background, and border using different color properties and values in HTML.

Example:

<p style="color:red;">
This example shows HTML color usage in a line.
</p>

Output:

This example shows HTML color usage in a line.


List of HTML Color Examples:

  • Text Coloring
  • Background Coloring
  • Border Coloring
  • Button Coloring
  • Table Coloring