Module:Color contrast: Revision history

From Thetacola Wiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

15 August 2022

14 August 2022

  • curprev 20:3520:35, 14 August 2022Thetacola talk contribs 6,971 bytes +6,971 Created page with "-- -- This module implements -- {{Color contrast ratio}} -- {{Greater color contrast ratio}} -- {{ColorToLum}} -- {{RGBColorToLum}} -- local p = {} local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' ) local function sRGB (v) if (v <= 0.03928) then v = v / 12.92 else v = math.pow((v+0.055)/1.055, 2.4) end return v end local function rgbdec2lum(R, G, B) if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then return 0.2126 *..." undo

6 January 2019

  • curprev 16:3816:38, 6 January 2019en>Johnuniq 6,971 bytes +6,971 fix unintended color2lum global error which is causing errors; clean whitespace