{"id":24585525,"url":"https://github.com/omegatools/color","last_synced_at":"2026-04-18T04:02:47.827Z","repository":{"id":227751995,"uuid":"772290234","full_name":"OmegaTools/Color","owner":"OmegaTools","description":"Small color conversion module.","archived":false,"fork":false,"pushed_at":"2025-02-11T18:25:59.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Stable","last_synced_at":"2025-02-11T19:31:05.734Z","etag":null,"topics":["bun","cmyk","deno","hex","hsl","jsr","nodejs","rgb"],"latest_commit_sha":null,"homepage":"https://jsr.io/@omega/color","language":"TypeScript","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":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-14T22:41:15.000Z","updated_at":"2025-02-11T18:26:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a895aafd-16c0-46c4-b6d5-a95232fd5ced","html_url":"https://github.com/OmegaTools/Color","commit_stats":null,"previous_names":["omegatools/color"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmegaTools","download_url":"https://codeload.github.com/OmegaTools/Color/tar.gz/refs/heads/Stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085033,"owners_count":20395523,"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":["bun","cmyk","deno","hex","hsl","jsr","nodejs","rgb"],"created_at":"2025-01-24T05:13:05.306Z","updated_at":"2026-04-18T04:02:38.591Z","avatar_url":"https://github.com/OmegaTools.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cbr\u003e\n\n\u003cdiv align = center\u003e\n\n# Omega / Color\n\n*Various color conversions.*\n\n\u003cbr\u003e\n\n[![Badge Stars]][Stars]\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n### Hex RGB(A)\n\n```typescript\nconst hex = '#0000FF' // Blue\n\nconst rgb = hexToRGB(hex)\n\nconsole.debug(rgb) // [ 0 , 0 , 255 ]\n```\n\n\u003cbr\u003e\n\n### HSL(A)\n\n```typescript\nconst hsl = [ 0 , 100 , 50 ] // Red\n\nconst rgb = hslToRGB(hsl)\n\nconsole.debug(rgb) // [ 255 , 0 , 0 ]\n```\n\n\u003cbr\u003e\n\n### CMYK(A)\n\n```typescript\nconst cmyka = [ 100 , 0 , 100 , 0 ] // Green\n\nconst rgb = cmykToRGB(cmyka)\n\nconsole.debug(rgb) // [ 120 , 100 , 50 ]\n```\n\n\u003cbr\u003e\n\n\n\u003c!-----------------------------------------------------------------------------\u003e\n\n[Stars]: https://github.com/OmegaTools/Color\n[Usage]: Documentation/Usage.md\n\n\n\u003c!---------------------------------[ Badges ]----------------------------------\u003e\n\n[Badge Stars]: https://img.shields.io/github/stars/OmegaTools/RGB?style=for-the-badge\u0026logoColor=white\u0026logo=Trustpilot\u0026labelColor=FF66AA\u0026color=cf538b\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegatools%2Fcolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomegatools%2Fcolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegatools%2Fcolor/lists"}