View source for Module:Color contrast
From Vigyanwiki
You do not have permission to edit this page, for the following reasons:
- The action you have requested is limited to users in the group: Users.
- This page has been protected from editing because it is transcluded in the following pages, which are protected with the "cascading" option turned on:
- Template:Cite web
- Template:Cite book
- Template:Cite journal
- Template:Citation needed
- Template:Fix
- Template:Cite interview
- Template:Cite magazine
- Template:Sub
- Template:Request quotation
- Template:Statistics
- Template:Unreliable source?
- Template:Convert
- Template:More citations needed section
- Template:Cite press release
- Template:Cite arXiv
- Template:Harvard citation text
- Template:Other uses
- Template:About
- Template:Radic
- Template:Integers
- Template:Public health
- Template:Particles
- Template:Unreferenced section
- Template:Operating systems
- Template:Prehistoric technology
- Template:Cite techreport
- Template:Bare URL PDF
- Template:Telecommunications
- Template:Cite thesis
- Template:Which
- Template:Legend
- Template:Good article
- Template:More footnotes needed
- Template:Category see also
- Template:Spoken Wikipedia
- Template:Update inline
- Template:Tmath
- Template:Cite AV media
- Template:Blockquote
- Template:Featured article
- Template:Color topics
- Template:Medical resources
- Template:ISO standards
- Template:No footnotes
- Template:Multiple issues
- Template:R to section
- Template:Hair space
- Template:Original research
- Template:Redirect-multi
- Template:Cquote
- Template:For multi
- Template:Explain
- Template:Books
- Template:Gaps
- Template:Opinion
- Template:Clarify
- Template:Navboxes
- Template:Start date and age
- Template:Namespace detect showall
- Template:IPA audio link
- Template:Listen
- Template:Top icon
- Template:Poem quote
- Template:Globalize
- Template:Bare URL inline
- Template:Quote box
- Template:Synthesis inline
- Template:Rh2
- Template:Broader
- Template:Note label
- Template:Underwater diving
- Template:Lang-zh
- Template:Why
- Template:Infobox company
- Template:Color box
- Template:U+
- Template:Africa topic
- Template:Asia topic
- Template:Europe topic
- Template:North America topic
- Template:Chembox Related
- Template:Chembox Properties
- Template:Chembox Pharmacology
- Template:Chembox Structure
- Template:Chembox Thermochemistry
- Template:Cite check
- Template:Design
- Template:Technical
- Template:About-distinguish
- Template:Lead too short
- Template:Cleanup bare URLs
- Template:To whom?
- Template:Redirect2
- Template:Sony
- Template:Graph:Chart
- Template:Spaced en dash space
- Template:Mathematical logic
- Template:Main category
- Template:Cite IETF
- Template:IPA-it
- Template:GABAA receptor positive modulators
- Template:Video game genre
- Template:Hallucinogens
- Template:Ionotropic glutamate receptor modulators
- Template:Other uses of
- Template:Disputed inline
- Template:Copy edit inline
- Template:Definition needed
- Template:Primary sources
- Template:Cite newsgroup
- Template:Clarify span
- Template:Latin script
- Template:IPA-es
- Template:Spaces
- Template:Cryptography navbox
- Template:Citation not found
- Template:Excessive citations inline
- Template:IPA-el
- Template:Erratum
- Template:Plainlist
- Template:Bare URL plain text
- Template:Cigarettes
- Template:Chemotherapeutic agents
- Template:End date and age
- Template:Citation needed span
- Template:Page needed
- Template:Redirect-distinguish
- Template:Web browsers
- Template:Ordered list
- Template:Unix
You can view and copy the source of this page.
Latin
Latin extended
IPA
Symbols
Greek
Greek extended
Cyrillic
Arabic
Arabic extended
Hebrew
Bangla
Tamil
Telugu
Sinhala
Devanagari
Gujarati
Thai
Lao
Khmer
Canadian Aboriginal
Runes
ÁáÀàÂâÄäÃãǍǎĀāĂ㥹ÅåĆćĈĉÇçČčĊċĐđĎďÉéÈèÊêËëĚěĒēĔĕĖėĘęĜĝĢģĞğĠġĤĥĦħÍíÌìÎîÏïĨĩǏǐĪīĬĭİıĮįĴĵĶķĹĺĻļĽľŁłŃńÑñŅņŇňÓóÒòÔôÖöÕõǑǒŌōŎŏǪǫŐőŔŕŖŗŘřŚśŜŝŞşŠšȘșȚțŤťÚúÙùÛûÜüŨũŮůǓǔŪūǖǘǚǜŬŭŲųŰűŴŵÝýŶŷŸÿȲȳŹźŽžŻżÆæǢǣØøŒœßÐðÞþƏə
Formatting
Links
Headings
Lists
Files
References
Discussion
Description | What you type | What you get |
---|---|---|
Italic | ''Italic text'' | Italic text |
Bold | '''Bold text''' | Bold text |
Bold & italic | '''''Bold & italic text''''' | Bold & italic text |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--
-- 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)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Template used on this page:
Return to Module:Color contrast.
Retrieved from ‘https://www.vigyanwiki.in/wiki/Module:Color_contrast’