{"id":15287003,"url":"https://github.com/omegatools/hsl","last_synced_at":"2025-10-20T17:46:10.136Z","repository":{"id":59334963,"uuid":"373457201","full_name":"OmegaTools/HSL","owner":"OmegaTools","description":"Deno HSL Color Conversion Module","archived":true,"fork":false,"pushed_at":"2022-11-19T07:30:28.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-23T01:41:30.182Z","etag":null,"topics":["cmyk","color","conversion","deno","hex","hsl","library","module","rgb"],"latest_commit_sha":null,"homepage":"https://deno.land/x/hsl","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OmegaTools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-03T09:46:54.000Z","updated_at":"2024-03-14T22:46:50.000Z","dependencies_parsed_at":"2023-01-22T16:31:04.465Z","dependency_job_id":null,"html_url":"https://github.com/OmegaTools/HSL","commit_stats":null,"previous_names":["omegatools/tohsl"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FHSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FHSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FHSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FHSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmegaTools","download_url":"https://codeload.github.com/OmegaTools/HSL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235575693,"owners_count":19012156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmyk","color","conversion","deno","hex","hsl","library","module","rgb"],"created_at":"2024-09-30T15:20:16.268Z","updated_at":"2025-10-07T01:31:04.857Z","avatar_url":"https://github.com/OmegaTools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cbr\u003e\n\n\u003cdiv align = center\u003e\n\n[![Badge Stars]][#]   \n[![Badge Deno]][Deno]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\u003cimg\n    src = 'Assets/Logo.png'\n    width = 120\n/\u003e\n\n# HSL\n\n*Convert colors to HSL.*\n\n\u003cbr\u003e\n\n[![Button Usage]][Usage]   \n[![Button Conversions]][Conversions]\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Examples\n\n\u003cbr\u003e\n\n```JavaScript\nimport * as HSL from 'https://deno.land/x/hsl/mod.ts';\n```\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n### RGB\n\n```JavaScript\nconst rgb = [ 255 , 0 , 0 ]; // Red\n\nconst hsl = HSL.fromRGB(rgb);\n\nconsole.log(hsl); // [ 0 , 100 , 50 ]\n```\n\n\u003cbr\u003e\n\n### Hex\n\n```JavaScript\nconst hex = '#0000FF'; // Blue\n\nconst hsl = HSL.fromHex(hex);\n\nconsole.log(hsl); // [ 240 , 100 , 50 ]\n```\n\n\u003cbr\u003e\n\n### CMYK\n\n```JavaScript\nconst cmyk = [ 100 , 0 , 100 , 0 ]; // Green\n\nconst hsl = HSL.fromCMYK(cmyk);\n\nconsole.log(hsl); // [ 120 , 100 , 50 ]\n```\n\n\u003cbr\u003e\n\n\n\u003c!-----------------------------------------------------------------------------\u003e\n\n[Conversions]: Documentation/Conversions.md\n[License]: LICENSE\n[Usage]: Documentation/Usage.md\n[Deno]: https://deno.land/x/hsl\n[#]: #\n\n\n\u003c!---------------------------------[ Badges ]----------------------------------\u003e\n\n[Badge License]: https://img.shields.io/badge/License-AGPL3-015d93.svg?style=for-the-badge\u0026labelColor=blue\n[Badge Stars]: https://img.shields.io/github/stars/OmegaTools/HSL?style=for-the-badge\u0026logoColor=white\u0026logo=Trustpilot\u0026labelColor=FF66AA\u0026color=cf538b\n[Badge Deno]: https://img.shields.io/badge/-Deno-58a341?style=for-the-badge\u0026logoColor=white\u0026logo=Deno\u0026labelColor=64bc4b\n\n\n\u003c!---------------------------------[ Buttons ]---------------------------------\u003e\n\n[Button Conversions]: https://img.shields.io/badge/Conversions-64BC4B?style=for-the-badge\u0026logoColor=white\u0026logo=Betfair\n[Button Usage]: https://img.shields.io/badge/Usage-04ACE6?style=for-the-badge\u0026logoColor=white\u0026logo=GitBook\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegatools%2Fhsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomegatools%2Fhsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegatools%2Fhsl/lists"}