All Projects → tecnickcom → tc-lib-color

tecnickcom / tc-lib-color

Licence: other
PHP library to manipulate various color representations

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to tc-lib-color

colorsys.rs
Lib for modifying colors and converting to other spaces
Stars: ✭ 28 (+47.37%)
Mutual labels:  color, hsl, rgb, cmyk
ColorTranslator
A JavaScript library, written in TypeScript, to convert among different color models
Stars: ✭ 34 (+78.95%)
Mutual labels:  color, hsl, rgb, rgba
color
A library of well-tested helper methods for working with colors.
Stars: ✭ 13 (-31.58%)
Mutual labels:  color, hsl, rgb, rgba
ColorHelper
No description or website provided.
Stars: ✭ 34 (+78.95%)
Mutual labels:  color, hsl, rgb, cmyk
Chromatism
🌈 A simple set of utility functions for colours.
Stars: ✭ 1,763 (+9178.95%)
Mutual labels:  color, hsl, rgb, colour
colors-convert
🦚 A simple colors library
Stars: ✭ 15 (-21.05%)
Mutual labels:  hsl, rgb, cmyk, rgba
ichiColor
Full features javascript color parser module, perfect work with vue.js; support RGB, HSL, HSV/HSB, HSL255, HSL240, HWB, XYZ, LAB, LUV, LHCab, xyY...
Stars: ✭ 23 (+21.05%)
Mutual labels:  color, hsl, rgba
leeks.js
Simple ANSI styling for your terminal
Stars: ✭ 12 (-36.84%)
Mutual labels:  color, rgb, colour
Culori
A comprehensive color library for JavaScript.
Stars: ✭ 271 (+1326.32%)
Mutual labels:  color, hsl, rgb
Farge
🎈Tell the name of hex color
Stars: ✭ 23 (+21.05%)
Mutual labels:  color, hsl, rgb
color
Standard representation of colors, encouraging sharing between packages.
Stars: ✭ 23 (+21.05%)
Mutual labels:  color, hsl, rgb
andColorPicker
Color picker library for Android
Stars: ✭ 233 (+1126.32%)
Mutual labels:  hsl, rgb, cmyk
Values.js
🍇 Get the tints and shades of a color
Stars: ✭ 97 (+410.53%)
Mutual labels:  color, hsl, rgb
khroma
A collection of functions for manipulating CSS colors, inspired by SASS.
Stars: ✭ 28 (+47.37%)
Mutual labels:  color, hsl, rgb
Colorhighlight
🎨 Lightweight Color Highlight colorizer for Sublime Text
Stars: ✭ 76 (+300%)
Mutual labels:  color, hsl, rgb
ColorMinePortable
ColorMinePortable
Stars: ✭ 37 (+94.74%)
Mutual labels:  hsl, rgb, cmyk
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+363.16%)
Mutual labels:  hsl, rgb, cmyk
colorsys
🎨 Minimalistic color converter for RGB, HSV, HSL, CMYK, HEX and CSS strings
Stars: ✭ 53 (+178.95%)
Mutual labels:  color, rgb, cmyk
Color Fns
🎨 Modern JavaScript color utilities library
Stars: ✭ 65 (+242.11%)
Mutual labels:  color, hsl, rgb
React Colorpickr
A themeable colorpicker with HSL and RGB support for React
Stars: ✭ 180 (+847.37%)
Mutual labels:  color, hsl, rgb

tc-lib-color

PHP Color Library

Latest Stable Version Master Build Status Master Coverage Status License Total Downloads

Donate via PayPal Please consider supporting this project by making a donation via PayPal

Description

This library includes utility classes to get colors in various representation formats.

The initial source code has been derived from TCPDF.

Getting started

First, you need to install all development dependencies using Composer:

$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer

This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:

make help

To install all the development dependencies:

make deps

Running all tests

Before committing the code, please check if it passes all tests using

make qa

All artifacts are generated in the target directory.

Example

Examples are located in the example directory.

Start a development server (requires PHP 5.4) using the command:

make server

and point your browser to http://localhost:8000/index.php

Installation

Create a composer.json in your projects root-directory:

{
    "require": {
        "tecnickcom/tc-lib-color": "^1.14"
    }
}

Or add to an existing project with:

composer require tecnickcom/tc-lib-color ^1.14

Packaging

This library is mainly intended to be used and included in other PHP projects using Composer. However, since some production environments dictates the installation of any application as RPM or DEB packages, this library includes make targets for building these packages (make rpm and make deb). The packages are generated under the target directory.

When this library is installed using an RPM or DEB package, you can use it your code by including the autoloader:

require_once ('/usr/share/php/Com/Tecnick/Color/autoload.php');

Developer(s) Contact

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].