API Reference
Generated from the installed library. Color is the facade: factory methods plus high-level parsing, mixing, and analysis.
Select a class in the left column to browse its constants, methods, and signatures.
Useful API entry points
PhpColor\Color
Color
Main entry point for the PHPColor library.
PhpColor\Color
ColorInterface
Public contract for color value objects.
PhpColor\Color\Palette
ColorPaletteInterface
Public contract for color palette value objects.
PhpColor\Color\Distance
ColorDistanceInterface
Interface for color distance calculation algorithms.
PhpColor\Color\Vision
VisionSimulatorInterface
Interface for color vision deficiency simulators.