{"id":21148886,"url":"https://github.com/samliebl/color-midpoint","last_synced_at":"2025-09-09T01:42:24.670Z","repository":{"id":238837428,"uuid":"230369957","full_name":"samliebl/color-midpoint","owner":"samliebl","description":"Get the color midway between two array-formatted rgb or rgba values as a string.","archived":false,"fork":false,"pushed_at":"2019-12-27T03:58:54.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T07:23:49.597Z","etag":null,"topics":["color","color-generator","color-mixing","color-palettes","color-scheme","colors","palettes","programmatic","programmatic-color"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/samliebl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-12-27T03:57:26.000Z","updated_at":"2019-12-27T04:01:16.000Z","dependencies_parsed_at":"2024-05-08T12:45:58.082Z","dependency_job_id":null,"html_url":"https://github.com/samliebl/color-midpoint","commit_stats":null,"previous_names":["samliebl/color-midpoint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samliebl/color-midpoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samliebl%2Fcolor-midpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samliebl%2Fcolor-midpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samliebl%2Fcolor-midpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samliebl%2Fcolor-midpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samliebl","download_url":"https://codeload.github.com/samliebl/color-midpoint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samliebl%2Fcolor-midpoint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274232025,"owners_count":25245856,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","color-generator","color-mixing","color-palettes","color-scheme","colors","palettes","programmatic","programmatic-color"],"created_at":"2024-11-20T09:29:40.826Z","updated_at":"2025-09-09T01:42:24.650Z","avatar_url":"https://github.com/samliebl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Color Difference\n\nGet the color midway between two array-formatted rgb or rgba values as a string.\n\n## Installation\n\n```sh\nnpm install color-midpoint\n```\n\n## Usage\n\n```js\nvar colorMidpoint = require('color-midpoint');\n\n// Blue: rgba(11, 92, 208, 1.0)\nvar blue = [11, 92, 208, 1.0];\n\n// Red: rgba(252, 39, 42, 1.0)\nvar red = [252, 39, 42, 1.0];\n\nvar purple = colorMidpoint(blue, red);\n\nconsole.log(purple);\n// Expected result: `rgba(132, 66, 125, 0.9)`\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamliebl%2Fcolor-midpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamliebl%2Fcolor-midpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamliebl%2Fcolor-midpoint/lists"}