{"id":15085965,"url":"https://github.com/omegatools/rgb","last_synced_at":"2025-10-05T15:31:37.019Z","repository":{"id":57377394,"uuid":"373115677","full_name":"OmegaTools/RGB","owner":"OmegaTools","description":"Deno RGB Color Conversion Module","archived":true,"fork":false,"pushed_at":"2024-03-13T18:55:25.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"Stable","last_synced_at":"2024-09-29T18:41:39.361Z","etag":null,"topics":["color","conversion","deno","hex","hsl","library","module","rgb"],"latest_commit_sha":null,"homepage":"https://deno.land/x/rgb","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-02T09:50:08.000Z","updated_at":"2024-03-14T22:47:23.000Z","dependencies_parsed_at":"2023-01-22T03:24:33.902Z","dependency_job_id":null,"html_url":"https://github.com/OmegaTools/RGB","commit_stats":null,"previous_names":["omegatools/torgb"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FRGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FRGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FRGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmegaTools%2FRGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmegaTools","download_url":"https://codeload.github.com/OmegaTools/RGB/tar.gz/refs/heads/Stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877025,"owners_count":16554818,"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":["color","conversion","deno","hex","hsl","library","module","rgb"],"created_at":"2024-09-25T07:02:20.948Z","updated_at":"2025-10-05T15:31:36.686Z","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# RGB\n\n*Convert colors to RGB.*\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 RGB from 'https://deno.land/x/rgb/mod.ts';\n```\n\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n### Hex\n\n```JavaScript\nconst hex = '#0000FF'; // Blue\n\nconst rgb = RGB.fromHex(hex);\n\nconsole.log(rgb); // [ 0 , 0 , 255 ]\n```\n\n\u003cbr\u003e\n\n### HSL\n\n```JavaScript\nconst hsl = [ 0 , 100 , 50 ]; // Red\n\nconst rgb = RGB.fromHSL(hsl);\n\nconsole.log(rgb); // [ 255 , 0 , 0 ]\n```\n\n\n\n\u003c!-- \n\u003cbr\u003e\n\n### CMYK\n\n```JavaScript\nconst cmyk = [ 100 , 0 , 100 , 0 ]; // Green\n\nconst rgb = RGB.fromCMYK(cmyk);\n\nconsole.log(rgb); // [ 120 , 100 , 50 ]\n``` --\u003e\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/rgb\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/RGB?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%2Frgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomegatools%2Frgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomegatools%2Frgb/lists"}