The PHPColor Guide

Six sections, one focused decision per page. Follow the Guide in order or jump directly to the question in front of you.

  1. Creating and Parsing Colors

    Choose the right boundary for concrete input, channel construction, alpha, and deferred expressions. Open this chapter
  2. Color Spaces, Conversion, and Output

    Select coordinates for the operation, then convert and format the intended output. Open this chapter
  3. Manipulating and Mixing Colors

    Transform or combine immutable colors while keeping the chosen model explicit. Open this chapter
  4. Palettes, Harmonies, and Gradients

    Compose colors into reusable palettes, harmonies, gradients, and CSS output. Open this chapter
  5. Contrast, Distance, and Color Vision

    Choose and interpret contrast, distance, and color-vision checks for a real context. Open this chapter
  6. Modern CSS Color Workflows

    Resolve variables and contextual CSS expressions with application-owned state. Open this chapter