An open API service indexing awesome lists of open source software.

https://github.com/intaro/color-interpolator

Interpolate color in the spectral band
https://github.com/intaro/color-interpolator

Last synced: over 1 year ago
JSON representation

Interpolate color in the spectral band

Awesome Lists containing this project

README

          

# Color Interpolator

Interpolate color in the spectral band.

## Usage

```php
use Intaro\ColorInterpolator\Color;
use Intaro\ColorInterpolator\ColorInterpolator;

// start rgb color
$startColor = new Color('5fb8df');
// ending rgb color
$endingColor = new Color('3b9bcf');

$color = ColorInterpolator::interpolate($startColor, $endingColor);
```