PHPackages                             basekit/colorworks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. basekit/colorworks

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

basekit/colorworks
==================

Classes for manipulating colors, converting to different formats and finding color harmonies

1.0.0(8y ago)052.5k↓46.8%1MITPHPPHP &gt;=5.3.10

Since Nov 14Pushed 6y ago13 watchersCompare

[ Source](https://github.com/basekit/ColorWorks)[ Packagist](https://packagist.org/packages/basekit/colorworks)[ Docs](https://github.com/basekit/ColorWorks)[ RSS](/packages/basekit-colorworks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

\#Getting started:

ColorWorks uses the PSR-0 standards for namespaces, so there should be no trouble using with frameworks like Symfony 2.

\###Autoloading

An autoloader class is provided for when loading ColorWorks yourself.

First, include the autoloader and call the static register() function.

```

```

Now all ColorWorks classes will be automatically loaded in.

\###Converting between formats

ColorWorks can convert to and from any of the supported color formats:

```

```

Any color manipulation or conversion will return a new instance of a color class, therefore your original color objects remains intact.

Color manipulation can be chained together:

```
