@pluginjs/color

0.8.10 • Public • Published

Color

npm package

color is a utility for control color's value or status.

Introduction

Installation

Yarn

yarn add @pluginjs/color

NPM

npm i @pluginjs/color

Getting Started

CDN:

Development:

<script src="https://unpkg.com/@pluginjs/color/dist/color.js"></script>

Production:

<script src="https://unpkg.com/@pluginjs/color/dist/color.min.js"></script>

API

color

Parameters

| Name | Type | Description | |||-| | element | HTMLElement | |

Returns

| Name | Type | Description | |||-| | element | HTMLElement | |

matchString

Parameters

| Name | Type | Description | |||-| | string | String | |

Returns

| Name | Type | Description | |||-| | isString | Boolean | |

setDefaults

Parameters

| Name | Type | Description | |||-| | options | Options | |

Browser support

Tested on all major browsers.

IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

License

@pluginjs/color is Licensed under the GPL-v3 license.

If you want to use @pluginjs/color project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.

For purchase an Commercial License, contact us purchase@thecreation.co.

Copyright

Copyright (C) 2022 Creation Studio Limited.

/@pluginjs/color/

    Package Sidebar

    Install

    npm i @pluginjs/color

    Homepage

    pluginjs.com

    Weekly Downloads

    48

    Version

    0.8.10

    License

    GPL-3.0

    Unpacked Size

    133 kB

    Total Files

    15

    Last publish

    Collaborators

    • thecreation
    • kaptinlin