1.0.3 • Published 10 months ago

@minedelve/webkit-colors-x11 v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Webkit colors X11 is a package that allows you to retrieve any standard X11 or X11 color adapted to HTML/CSS in RGB or Hexadecimal format. It aims to be simple, fast and supports all JS frameworks as well as Vanilla.

DDL_ALL  DDL_MONTHS  LICENSE  VERSION_X11COLOR  DISCORD_BADGE

Table of Contents

Installation

yarn add @minedelve/webkit-colors-x11 -D
npm install @minedelve/webkit-colors-x11 --save-dev

Use

import getColor from "webkit-colors-x11";

[...]

const color = getColor('red', 'hex', 'x11');
// return color red to x11 on hexadecimal value.

const color = getColor('red');
// return color red to html on rgb.

const color = getColor('red', 'hex');
// return color red to html on hexadecimal.

const color = getColor('red', undefined, 'x11');
// return color red to x11 on rgb.

Core Team

Laurent Grimaldi

License

Licensed under the MIT license.

Copyright © 2021-2023 Minedelve

We support these projects

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.1

10 months ago