プロジェクト
GitHubで見る
siege-media/contrast-ratio
概要
任意の有効なCSSカラー2色のコントラスト比を計算するツールです。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- -1
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルContrast Ratio
A tool to calculate the WCAG (Web Content Accessibility Guidelines) contrast ratio of text on a web page.
WCAG define two levels of compliance that differ only in the contrast ratio:
Level AA:
- 4.5:1 for normal text
- 3:1 for large text
- 3:1 for graphics and user interface components (such as form input borders) Level AAA:
- 7:1 for normal text
- 4.5:1 for large text
Large text is defined as 14 point (typically 18.66px, or 1.2rem when the root font is 16px) and bold or larger, or 18 point (typically 24px or 1.5rem) or larger.
NOTE: this repo does not create the public website any longer. The code is used as the basis for the page at Siege Media.
Acknowledgements
- Lea Verou for initial concept and programming
- Seth Falco
関連プロジェクトを探す
読み込み中…