PHPackages                             villfa/invert-color - 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. villfa/invert-color

ActiveLibrary

villfa/invert-color
===================

InvertColor - invert hex color code

0.5.1(4y ago)15102.4k↑22.1%42MITPHPPHP &gt;=7.1

Since Oct 11Pushed 2y ago2 watchersCompare

[ Source](https://github.com/villfa/php-invert-color)[ Packagist](https://packagist.org/packages/villfa/invert-color)[ Docs](https://github.com/villfa/php-invert-color)[ RSS](/packages/villfa-invert-color/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (14)Used By (2)

php-invert-color
================

[](#php-invert-color)

[![Build Status](https://github.com/villfa/php-invert-color/workflows/Continuous%20Integration/badge.svg)](https://github.com/villfa/php-invert-color/actions)[![Quality Gate Status](https://camo.githubusercontent.com/379e50008ce1e4455e7b823166c71967011283e835ffba3d4b83cf6970fbe49e/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d76696c6c66615f7068702d696e766572742d636f6c6f72266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=villfa_php-invert-color)[![Latest Stable Version](https://camo.githubusercontent.com/4b60d284b37ff0e9a3f4859596a39caf0054e06a740e97121030a03bfa763e5b/68747470733a2f2f706f7365722e707567782e6f72672f76696c6c66612f696e766572742d636f6c6f722f762f737461626c65)](https://packagist.org/packages/villfa/invert-color)[![License](https://camo.githubusercontent.com/af05b6768d93965040496e239613af19b219ac5476695a9d6c16a2dc3da5fe2e/68747470733a2f2f706f7365722e707567782e6f72672f76696c6c66612f696e766572742d636f6c6f722f6c6963656e7365)](./LICENSE)[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)

invert hex color code

Installation
------------

[](#installation)

```
composer require villfa/invert-color
```

Usage
-----

[](#usage)

Here a basic example:

```
