Skip to main content
Speclore

Html Color Codes

Reference data and engineering information about html color codes for miscellaneous applications.

htmlcolorcodes

Overview

Engineering reference data for Html Color Codes in miscellaneous.

Key Formulas

Unit Conversion

y=xky = x \cdot k

Multiply by conversion factor.

Linear Interpolation

y=y1+(xx1)(y2y1)x2x1y = y_1 + \frac{(x - x_1)(y_2 - y_1)}{x_2 - x_1}

Estimate between two known points.

Percentage

p=partwhole×100%p = \frac{\text{part}}{\text{whole}} \times 100\%

Part as fraction of whole.

Variables

SymbolDescriptionUnit
xxInput value
yyOutput value
kkConversion factor

Color Codes Table

The following table provides a reference for common HTML color codes, including hexadecimal, decimal (RGB), and named CSS color values. While early browsers supported only 256 "safe" colors, modern standards allow for millions of colors.

References