Blijbol, happy business   Dutch English

Links About Blijbol Guestbook
Home News Games Software Game Maker
Downloaded 25 times

Color Contrast Checker

Determine accessibility of a color pair


Enter two colors in hexadecimal notation and check their relative luminescences and contrast ratio, and whether this contrast ratio is sufficient for normal or large text according to the Web Content Accessibility Guidelines 2.0.

Tip: use in conjunction with Base Convertor.


Licence: Use the program below at your own risk. You are only allowed to change this source code for private usage. Any adapted version of this program cannot be distributed. The text '' must remain clearly visible from within the program. Copyright 2011 Jeroen van der Gun.
:Disp "
:Fix 3
:Input "C1=x",Str0
:Lbl 2
:If 3=length(Str0
:If 6≠length(Str0
:Goto 1
:If not(Ans
:Goto 1
:If fPart(I/2
:If Ans≤.03928
:If I=5
:If I=3
:If I=1
:If J=1
:Disp "L1="
:Input "C2=x",Str0
:Goto 2
:Disp "L2="
:Fix 1
:Disp "Ratio="
:If Ans>7
:If Ans>4.5
:If Ans>3
:Disp "WCAG:A-AA
:Disp "WCAG:A
:Lbl 0
:Lbl 1

Version 1.0 (stable)

Release date: 16 December 2011
Language: English
System requirements: Texas Instruments graphing calculator running TI-83 Plus or TI-84 Plus operating system (Silver Edition is also fine), 580 bytes free RAM memory or archive space for storage (during use more RAM memory is needed)

Project status

A stable version of this product has been released. The project was announced at 16 December 2011.


This tool has been created by Jeroen van der Gun.

More for your calculator


No comments have been posted yet. Use the form to post one.

Add a comment

1 × 10 =
Blijbol =