{"id":23215495,"url":"https://github.com/emilymclean/contrast-accessibility","last_synced_at":"2025-10-08T02:06:32.469Z","repository":{"id":237936299,"uuid":"795524202","full_name":"emilymclean/contrast-accessibility","owner":"emilymclean","description":"Provides a utility class for checking contrast accessibility between colors and calculating contrast ratios using the standards defined in WCAG 2.1.","archived":false,"fork":false,"pushed_at":"2024-11-18T00:33:58.000Z","size":301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T13:44:19.495Z","etag":null,"topics":["java-library","wcag2"],"latest_commit_sha":null,"homepage":"https://emilym.cl/contrast-accessibility/javadoc","language":"Java","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/emilymclean.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-05-03T13:19:52.000Z","updated_at":"2024-10-29T11:42:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a70a601-f998-4c68-a1e8-637162369d59","html_url":"https://github.com/emilymclean/contrast-accessibility","commit_stats":null,"previous_names":["benmmclean/contrast-accessibility","emilymclean/contrast-accessibility"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/emilymclean/contrast-accessibility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilymclean%2Fcontrast-accessibility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilymclean%2Fcontrast-accessibility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilymclean%2Fcontrast-accessibility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilymclean%2Fcontrast-accessibility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilymclean","download_url":"https://codeload.github.com/emilymclean/contrast-accessibility/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilymclean%2Fcontrast-accessibility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877092,"owners_count":26061381,"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-10-08T02:00:06.501Z","response_time":56,"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":["java-library","wcag2"],"created_at":"2024-12-18T20:17:00.945Z","updated_at":"2025-10-08T02:06:32.445Z","avatar_url":"https://github.com/emilymclean.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contrast Accessibility\n[![Build](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/build.yml/badge.svg)](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/build.yml)\n[![Lint](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/lint.yml/badge.svg)](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/lint.yml)\n[![Test](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/test.yml/badge.svg)](https://github.com/BenMMcLean/contrast-accessibility/actions/workflows/test.yml)\n\nProvides a utility class for checking contrast accessibility between colors and calculating contrast ratios using the standards defined in WCAG 2.1.\n\n## Installation\n![Stable](https://img.shields.io/github/v/release/BenMMcLean/contrast-accessibility?label=Stable)\n![Preview](https://img.shields.io/github/v/release/BenMMcLean/contrast-accessibility?label=Preview\u0026include_prereleases)\n\n```\nimplementation \"cl.emilym:contrast-accessibility:\u003clatest\u003e\"\n```\n\n## Usage\n```java\nlong color1 = 0xFF0000; // Red\nlong color2 = 0x000000; // Black\nSystem.out.println(ContrastAccessibility.valid(color1, color2)); // True\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilymclean%2Fcontrast-accessibility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilymclean%2Fcontrast-accessibility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilymclean%2Fcontrast-accessibility/lists"}