{"id":18613420,"url":"https://github.com/perkovec/colorise-lua","last_synced_at":"2025-04-10T23:31:58.318Z","repository":{"id":68261968,"uuid":"42352886","full_name":"Perkovec/colorise-lua","owner":"Perkovec","description":"Convert HEX, RGBA. RGB","archived":false,"fork":false,"pushed_at":"2015-09-12T10:27:11.000Z","size":144,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T06:41:37.670Z","etag":null,"topics":["hex","lua","luarocks","rgba"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Perkovec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-12T10:14:55.000Z","updated_at":"2025-01-06T00:51:46.000Z","dependencies_parsed_at":"2023-03-01T12:30:38.904Z","dependency_job_id":null,"html_url":"https://github.com/Perkovec/colorise-lua","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perkovec%2Fcolorise-lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perkovec%2Fcolorise-lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perkovec%2Fcolorise-lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perkovec%2Fcolorise-lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Perkovec","download_url":"https://codeload.github.com/Perkovec/colorise-lua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248316333,"owners_count":21083428,"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":["hex","lua","luarocks","rgba"],"created_at":"2024-11-07T03:22:00.955Z","updated_at":"2025-04-10T23:31:58.009Z","avatar_url":"https://github.com/Perkovec.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"Colorise\n=======\n\nColor converter for HEX, RGB and RGBA\n\n\n```Lua\nlocal color = require \"colorise\"\n\nprint(color.hex2rgb(\"D2527F\")) -- or '#D2527F'\n\u003e\u003e 210     82      127\nprint(color.hex2rgba(\"D2527FEE\")) -- or '#D2527FEE'\n\u003e\u003e 210     82      127     238\nprint(color.rgb2hex({210, 82, 127}))\n\u003e\u003e #D2527F\nprint(color.rgb2hex({210, 82, 127, 238}))\n\u003e\u003e #D2527FEE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperkovec%2Fcolorise-lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperkovec%2Fcolorise-lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperkovec%2Fcolorise-lua/lists"}