Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:Color

From Super Fantasy Kingdom Official Wiki
Revision as of 21:43, 6 December 2024 by wgg>Cadaei (from https://defaultloadout.wiki.gg/wiki/Template:Color)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Template-info.svg Documentation Edit this documentation at Template:Color/doc.
(edit • history • purge)

This template creates a small color splotch with a given background color next to a plaintext color code. This is useful for previewing colors.

Usage

{{color|<color>}} Where <color> is any valid CSS color.

Examples

My favorite color is {{color|darkgreen}}

I think the current {{color|#6d8afb}} of links should be changed to a {{color|#6df4fb}}

RGB is cool too, you can do {{color|rgb(128,255,128)}}, or even transparency with {{color|rgba(128,255,128,0.5)}}.

Produces:

My favorite color is darkgreen 

I think the current #6d8afb  of links should be changed to a #6df4fb 

RGB is cool too, you can do rgb(128,255,128) , or even transparency with rgba(128,255,128,0.5) .