{"id":16828108,"url":"https://github.com/hyperlink/complement","last_synced_at":"2025-03-17T20:29:35.995Z","repository":{"id":8140403,"uuid":"9559144","full_name":"hyperlink/complement","owner":"hyperlink","description":"Sampling an area of an image and dynamically generate a rgb color that provides the best contrast to the sampled area.","archived":false,"fork":false,"pushed_at":"2013-04-20T04:25:11.000Z","size":716,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T07:31:09.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperlink.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":"2013-04-20T04:17:45.000Z","updated_at":"2014-01-01T10:59:02.000Z","dependencies_parsed_at":"2022-08-30T17:41:08.485Z","dependency_job_id":null,"html_url":"https://github.com/hyperlink/complement","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/hyperlink%2Fcomplement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperlink%2Fcomplement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperlink%2Fcomplement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperlink%2Fcomplement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperlink","download_url":"https://codeload.github.com/hyperlink/complement/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244105302,"owners_count":20398839,"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":"2024-10-13T11:24:44.231Z","updated_at":"2025-03-17T20:29:35.973Z","avatar_url":"https://github.com/hyperlink.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"##Complement\n\nSampling an area of an image and dynamically generate a rgb color that provides the best contrast to the sampled area.\n\n## Use case\nOverlaying text or icon font over an image.\n\n\n##Installation\n\nGet all the components used to test this with Bower\n\n    npm install -g bower\n    bower install\n\nOptionally you can create a local server to test (Mac)\n\n    npm install -g http-server\n    http-server .\n    open http://localhost:8080/index.html\n    \n##Issues\n\nCross origin exceptions if you try to run this from a file:// protocol.\n\nOccasionally the color grid will load all white in Chrome. Clicking Refresh usually solves this. \n\n## Requirements\n\ntinycolor is the only one required for conversions (wrote my own originally but why reinvent the wheel?).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperlink%2Fcomplement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperlink%2Fcomplement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperlink%2Fcomplement/lists"}