{"id":27946866,"url":"https://github.com/dmccuskey/dmc-kolor","last_synced_at":"2025-05-07T13:58:27.742Z","repository":{"id":26985462,"uuid":"30449251","full_name":"dmccuskey/dmc-kolor","owner":"dmccuskey","description":"Fancy color handling for Corona SDK","archived":false,"fork":false,"pushed_at":"2015-05-08T08:35:40.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T13:58:24.513Z","etag":null,"topics":[],"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/dmccuskey.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":"2015-02-07T07:49:30.000Z","updated_at":"2018-09-28T08:22:09.000Z","dependencies_parsed_at":"2022-08-31T21:46:14.722Z","dependency_job_id":null,"html_url":"https://github.com/dmccuskey/dmc-kolor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-kolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-kolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-kolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmccuskey%2Fdmc-kolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmccuskey","download_url":"https://codeload.github.com/dmccuskey/dmc-kolor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252892523,"owners_count":21820647,"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":[],"created_at":"2025-05-07T13:58:27.100Z","updated_at":"2025-05-07T13:58:27.715Z","avatar_url":"https://github.com/dmccuskey.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Module dmc_kolor ###\n\n`dmc_kolor` is a Lua module which brings back the traditional ways of describing colors using RGBA values ( eg, 255, 180, 34 ) instead of the new way using percentage values (eg, 1, .5, .25 ) brought about by the change to Graphics 2.0.\n\nIt also gives additional functionality like the ability to use names when setting object colors like \"Aqua\" or \"Red\". The module even includes color tables for all of the X11 color definitions.\n\n#### Reasons to use dmc_kolor ####\n\nHere are some of the reasons why you would use this module:\n\n* **Your existing code will still work**\n\n\tThis is perhaps the biggest win because older projects will still work and don't need to be re-written, even long after Corona Labs discontinues the V1 Compatibility Flag.\n\n* **You don't think in HDR**\n\n\tThere are those who don't think in percentages and don't want to start, even for new projects.  The library allows them to continue describing colors using traditional RGBA values.\n\n* **You still get all of the new Corona Graphics 2.0 features**\n\n\tThere's no need to turn on the V1 Compatibility Flag, so the engine is using all of the new features. Even with dmc_kolor all of the new HDR functionalty is still available to you.\n\n* **You don't need the extra color space**\n\n\tPart of the move was to allow the engine to start supporting more than 8 bits per color channel. For a lot of applications this is overkill and unnecessary so the switch to HDR is pointless.\n\n* **You get more functionality**\n\n\tThere is more functionality built in, like being able to used named colors, hex colors, mixing RGB and HDR if necessary, etc.\n\n#### Examples ####\n\nThere are examples in the folder `dmc_kolor/examples/` which show different ways to use the `dmc_kolor` library.\n\n#### Documentation ####\n\nhttp://docs.davidmccuskey.com/display/docs/dmc_kolor.lua\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmccuskey%2Fdmc-kolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmccuskey%2Fdmc-kolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmccuskey%2Fdmc-kolor/lists"}