GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OmegaTools/HSL: Deno HSL Color Conversion Module

This repository was archived by the owner on Mar 14, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
Assets
Assets
 
 
Documentation
Documentation
 
 
Source
Source
 
 
Tests
Tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
deno.json
deno.json
 
 

Repository files navigation


Badge Stars    Badge Deno



HSL

Convert colors to HSL.


Button Usage    Button Conversions



Examples


import * as HSL from 'https://deno.land/x/hsl/mod.ts';

RGB

const rgb = [ 255 , 0 , 0 ]; // Red

const hsl = HSL.fromRGB(rgb);

console.log(hsl); // [ 0 , 100 , 50 ]

Hex

const hex = '#0000FF'; // Blue

const hsl = HSL.fromHex(hex);

console.log(hsl); // [ 240 , 100 , 50 ]

CMYK

const cmyk = [ 100 , 0 , 100 , 0 ]; // Green

const hsl = HSL.fromCMYK(cmyk);

console.log(hsl); // [ 120 , 100 , 50 ]

About

Deno HSL Color Conversion Module

deno.land/x/hsl

Topics

cmykcolorconversiondenohexhsllibrarymodulergb

Resources

Readme
AGPL-3.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.