Template:Color contrast conformance/doc

From Drifter's Wiki TEST
Revision as of 10:38, 24 April 2020 by Wikipedia>Vanisaac (→‎External links: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error: Internal error: The interpreter exited with status 127. Lua error: Internal error: The interpreter exited with status 127.

Usage

The Template:Color contrast conformance gives a "AAA", "AA" or "none" judgment for the level of conformance to WCAG 2.0 of two colors together, in terms of contrast ratio, where the colors can be either RGB #numbers (#56F3BB) or color names (green, darkorange, or NavahoWhite, etc.).

Code Result
Lua error: Internal error: The interpreter exited with status 127. Contrast: blue & white, conformance level= Expression error: Unexpected < operator.
Lua error: Internal error: The interpreter exited with status 127. Contrast: red & #FFcc00, conformance level= Expression error: Unexpected < operator.
Lua error: Internal error: The interpreter exited with status 127. Expression error: Unexpected < operator.

Either parameter 1 or 2 can be a standard color name (in upper/lowercase letters) or an RGB #number, such as: #FF45BB. See: Web colors, for a full list of color names and the assigned RGB #number values. The option "show=no" will suppress showing the color names or numbers, and give just the "AAA", "AA" or "none" answer.

HTML colors

Accessibility of pairs of HTML colors
Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:black;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:navy;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:maroon;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:purple;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:blue;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:green;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:teal;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:olive;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:red;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:gray;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:fuchsia;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:orange;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:silver;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:lime;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:aqua;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:yellow;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.
<span style="display:inline-block;width:1em;height:1em;border:1.62px solid black;background:white;" title="Lua error: Internal error: The interpreter exited with status 127.">  Lua error: Internal error: The interpreter exited with status 127.

Supporting template

See also

External links