Adapt

Utilities for chromatic adaptation between different white points.

Methods

color

static
public static function color(ColorInterface $color, WhitePoint $src, WhitePoint $dst, string $method): ColorInterface

Adapt a color between white points using a specified method.

Parameters
NameTypeDefault
$color ColorInterface -
$src WhitePoint -
$dst WhitePoint -
$method string "bradford"