
This template produces the hexadecimal color definitions for
- Asphalt-specific colors reproduced in this Wiki (like
#cf8df9
for rare items) - colors specific to Asphalt Wiki (like
#31f3fa
forAsphalt 8 Tokens)
Its aim is to provide "telling names" for frequently used colors so that editors don't have to look up hexadecimal codes every time they want to give a specific color to text or other article elements.
Contents
Usage
{{color code| <name of color> }}
Examples
{{color code|a8rare}}
→ #cf8df9{{color code|#00f000}}
→ #00f000{{color code|red}}
→ red
{{Color code}} can be used at any place where a hexadecimal color definition is needed:
<span style="background:{{color code|a8fcoins}}">Text</span>
→ Text
Please note that {{Color code}}
- does not render text in the specified color. It only translates a color name into the corresponding hexadecimal code.
- does not translate any web colors like "red" or "green". It is solely made for colors specific to this wiki and the Asphalt games.
See {{Color}} if you want to render text in a certain color.
Asphalt colors
In-game text colors | |||
---|---|---|---|
Name | Color | Used for | Corresponding text color template |
a7highlight | #ffc600 | Asphalt 7 highlighted text | |
a8common5 | #bcd2fe | Asphalt 8 common items (5.0) | {{a8common5|Text}} → Text
|
a8uncommon5 | #00dac2 | Asphalt 8 uncommon items (5.0) | {{a8uncommon5|Text}} → Text
|
a8rare5 | #0084ff | Asphalt 8 rare items (5.0) | {{a8rare5|Text}} → Text
|
a8epic5 | #ad00d6 | Asphalt 8 epic items (5.0) | {{a8epic5|Text}} → Text
|
a8legendary5 | #ff8300 | Asphalt 8 legendary items (5.0) | {{a8legendary5|Text}} → Text
|
a8common | #abd2ff | Asphalt 8 common items (pre 5.0) | {{a8common|Text}} → Text
|
a8rare | #cf8df9 | Asphalt 8 rare items (pre 5.0) | {{a8rare|Text}} → Text
|
a8legendary | #f8a400 | Asphalt 8 legendary items (pre 5.0) | {{a8legendary|Text}} → Text
|
a8optimal | #c3835b | Asphalt 8 optimal items (![]() |
{{a8optimal|Text}} → Text
|
a8prime | #94b1d4 | Asphalt 8 prime items (![]() |
{{a8prime|Text}} → Text
|
a8superb | #ffbf50 | Asphalt 8 superb items (![]() |
{{a8superb|Text}} → Text
|
a8festival | #f77f21 | Asphalt 8 Festival items (![]() |
{{a8festival|Text}} → Text
|
a9uncommon | #14bbe7 | Asphalt 9 uncommon items | {{a9uncommon|Text}} → Text
|
a9rare | #bf4cdc | Asphalt 9 rare items | {{a9rare|Text}} → Text
|
a9epic | #ffd800 | Asphalt 9 epic items | {{a9epic|Text}} → Text
|
asgray | #9cbebb | Asphalt Streetstorm gray items | {{asgray|Text}} → Text
|
asgreen | #55c78e | Asphalt Streetstorm green items | {{asgreen|Text}} → Text
|
asorange | #ff714f | Asphalt Streetstorm orange items | {{asorange|Text}} → Text
|
asblue | #8fbdff | Asphalt Streetstorm blue items | {{asblue|Text}} → Text
|
asred | #ff3464 | Asphalt Streetstorm red items | {{asred|Text}} → Text
|
a8comet | #f182e6 | Asphalt 8 Comet | |
a8disruptor | #7151ee | Asphalt 8 Disruptor | |
a8forcefield | #13f7a7 | Asphalt 8 Force Field | |
a8hyperboost | #ffbe00 | Asphalt 8 Hyperboost | |
a8pulsewave | #2b9dfe | Asphalt 8 Pulsewave | |
a8surgestrike | #ff0000 | Asphalt 8 Surge Strike | |
a6highlight | #7be2ff | Asphalt 6 highlighted text | |
a8highlight | #ff9600 | Asphalt 8 highlighted text | |
a9highlight | #ff0054 | Asphalt 9 highlighted text, primary | |
anhighlight | #ffc600 | Asphalt Nitro highlighted text | |
aohighlight | #ec008c | Asphalt Overdrive highlighted text | |
aoblue | #00aeef | Asphalt Overdrive blue text, secondary | |
aodarkblue | #0d7095 | Asphalt Overdrive dark blue text, secondary | |
aopower | #00ff00 | Asphalt Overdrive power increase text | |
axhighlight | #ffa904 | Asphalt Xtreme highlighted text | |
a9green | #c3fb12 | Asphalt 9 green, primary | |
a9cyan | #33eff9 | Asphalt 9 cyan text, secondary | |
a9blue | #2152ad | Asphalt 9 blue text, secondary | |
a9grey | #3f4b57 | Asphalt 9 grey text, secondary | |
a9yellow | #ffd300 | Asphalt 9 yellow text, secondary |
Asphalt Wiki currency text colors | |||
---|---|---|---|
Name | Color | Used for | Corresponding currency template |
a7dollars | #a1e157 | Asphalt 7 Dollars | {{a7dollars|Text}} → ![]() |
a8bpcc | #abd2ff | Asphalt 8 common car Blueprints | {{a8bpcc|Text}} → ![]() |
a8bpbc | #abd2ff | Asphalt 8 common bike Blueprints | {{a8bpbc|Text}} → ![]() |
a8bpcr | #cf8df9 | Asphalt 8 rare car Blueprints | {{a8bpcr|Text}} → ![]() |
a8bpcl | #f8a400 | Asphalt 8 legendary car Blueprints | {{a8bpcl|Text}} → ![]() |
a8bpbl | #f8a400 | Asphalt 8 legendary bike Blueprints | {{a8bpbl|Text}} → ![]() |
a8coins | #faa706 | Asphalt 8 5th Anniversary Coins | {{a8coins|Text}} → ![]() |
a86coins | #faa706 | Asphalt 8 6th Anniversary Coins | {{a86coins|Text}} → ![]() |
a8credits | #fddc05 | Asphalt 8 Credits | {{a8credits|Text}} → ![]() |
a8enduro | #fdab00 | Asphalt 8 Enduro Points | {{a8enduro|Text}} → ![]() |
a8fcoins | #0072ff | Asphalt 8 Snowflurry Festival Coins | {{a8fcoins|Text}} → ![]() |
a8flcoins | #faa706 | Asphalt 8 Fast-Lane Festival Coins | {{a8flcoins|Text}} → ![]() |
a8nycoins | #faa706 | Asphalt 8 New Year Festival Coins | {{a8nycoins|Text}} → ![]() |
a8fuel | #faa706 | Asphalt 8 Fuel | {{a8fuel|Text}} → ![]() |
a8fusion | #fead00 | Asphalt 8 Fusion Points | {{a8fusion|Text}} → ![]() |
a8fusioncoins | #dd81fe | Asphalt 8 Fusion Coins | {{a8fusioncoins|Text}} → ![]() |
a8hcoins | #faa706 | Asphalt 8 Halloween Festival Coins | {{a8hcoins|Text}} → ![]() |
a8fan | #faa706 | Asphalt 8 World Tour Fan Points | {{a8fan|Text}} → ![]() |
a8helmets | #ffca00 | Asphalt 8 Helmets | {{a8helmets|Text}} → ![]() |
a8licenses | #e09529 | Asphalt 8 Licenses | {{a8licenses|Text}} → ![]() |
a8scoins | #e00f7f | Asphalt 8 Showdown Festival Coins | {{a8scoins|Text}} → ![]() |
a8stars | #faa706 | Asphalt 8 Stars | {{a8stars|Text}} → ![]() |
a8tickets | #a4b9cB | Asphalt 8 Season Tickets | {{a8tickets|Text}} → ![]() |
a8gauntlettickets | #ffffff | Asphalt 8 Gauntlet Tickets | {{a8gauntlettickets|Text}} → ![]() |
a8goldengauntlettickets | #f5c106 | Asphalt 8 Golden Gauntlet Tickets | {{a8goldengauntlettickets|Text}} → ![]() |
a8gauntletbadges | #ff474a | Asphalt 8 Gauntlet Badges | {{a8gauntletbadges|Text}} → ![]() |
a8tokens | #31f3fa | Asphalt 8 Tokens | {{a8tokens|Text}} → ![]() |
a8viplevel | #d5d4d4 | Asphalt 8 VIP Level | {{a8viplevel|Text}} → ![]() |
a8vippoints | #d5d4d4 | Asphalt 8 VIP Points | {{a8vippoints|Text}} → ![]() |
a9credits | #ffc600 | Asphalt 9 Credits | {{a9credits|Text}} → ![]() |
a9seriesscore | #7e38ce | Asphalt 9 Series Score | {{a9seriesscore|Text}} → ![]() |
a9tickets | #ffffff | Asphalt 9 Tickets | {{a9tickets|Text}} → ![]() |
a9tokens | #0090ff | Asphalt 9 Tokens | {{a9tokens|Text}} → ![]() |
a9syndcoins | #ad9bf3 | Asphalt 9 Syndicate Coins | {{a9syndcoins|Text}} → ![]() |
a9syndpoints | #00defd | Asphalt 9 Syndicate Points | {{a9syndpoints|Text}} → ![]() |
a9hazard | #fa0452 | Asphalt 9 Hazard | {{a9hazard|Text}} → ![]() |
a9keys | #3865c42 | Asphalt 9 Keys | {{a9keys|Text}} → ![]() |
a9lp | #ffffff | Asphalt 9 Legend Points | {{a9lp|Text}} → Text ![]() |
a9tradecoins | #ff0054 | Asphalt 9 Trade Coins | {{a9tradecoins|Text}} → ![]() |
a9bp | #d5d4d4 | Asphalt 9 Blueprints (neutral) | {{a9bp|Text}} → ![]() |
a9bpu | #14bbe7 | Asphalt 9 uncomon Blueprints | {{a9bpu|Text}} → ![]() |
a9bpr | #bf4cdc | Asphalt 9 rare Blueprints | {{a9bpr|Text}} → ![]() |
a9bpe | #ffd800 | Asphalt 9 epic Blueprints | {{a9bpe|Text}} → ![]() |
9cvouchers | #e78915 | Asphalt 9 China Vouchers | {{9cvouchers|Text}} → ![]() |
ancredits | #2697cc | Asphalt Nitro Credits | {{ancredits|Text}} → ![]() |
ancreditswhite | #ffffff | Asphalt Nitro Credits white | {{ancreditswhite|Text}} → ![]() |
antokens | #3bc214 | Asphalt Nitro Tokens | {{antokens|Text}} → ![]() |
anfuel | #00aadf | Asphalt Nitro Fuel | {{anfuel|Text}} → ![]() |
anstars | #f7bb00 | Asphalt Nitro Stars | {{anstars|Text}} → ![]() |
anvipcoins | #f9bd00 | Asphalt Nitro VIP Coins | {{anvipcoins|Text}} → ![]() |
anviplevel | #f9bd00 | Asphalt Nitro VIP Level | {{anviplevel|Text}} → ![]() |
aobills | #56a03b | Asphalt Overdrive Bills | {{aobills|Text}} → Text ![]() |
aoenergy | #f755b5 | Asphalt Overdrive Energy | {{aoenergy|Text}} → Text ![]() |
aogold | #ef9a10 | Asphalt Overdrive Gold | {{aogold|Text}} → Text ![]() |
aostars | #efc229 | Asphalt Overdrive Stars | {{aostars|Text}} → Text ![]() |
ascash | #84c6d2 | Asphalt Streetstorm Cash | {{ascash|Text}} → Text ![]() |
asdiamonds | #00def0 | Asphalt Streetstorm Diamonds | {{asdiamonds|Text}} → Text ![]() |
asbp | #00adf1 | Asphalt Streetstorm Blueprints | {{asbp|Text}} → Text ![]() |
assubscribers | #70ffff | Asphalt Streetstorm Subscribers | {{assubscribers|Text}} → Text ![]() |
aseventpoints | #70ffff | Asphalt Streetstorm Event Points | {{aseventpoints|Text}} → Text ![]() |
asdriverrating | #70ffff | Asphalt Streetstorm Driver Rating | {{asdriverrating|Text}} → Text ![]() |
axcredits | #ffa904 | Asphalt Xtreme Credits | {{axcredits|Text}} → ![]() |
axtokens | #31f3fa | Asphalt Xtreme Tokens | {{axtokens|Text}} → ![]() |
axtickets | #e99e13 | Asphalt Xtreme Tickets | {{axtickets|Text}} → ![]() |
axbp | #d5d4d4 | Asphalt Xtreme Blueprints (neutral) | {{axbp|Text}} → ![]() |
axbpd | #618d91 | Asphalt Xtreme Class-D Blueprints | {{axbpd|Text}} → ![]() |
axbpc | #0885c0 | Asphalt Xtreme Class-C Blueprints | {{axbpc|Text}} → ![]() |
axbpb | #674f96 | Asphalt Xtreme Class-B Blueprints | {{axbpb|Text}} → ![]() |
axbpa | #ee810a | Asphalt Xtreme Class-A Blueprints | {{axbpa|Text}} → ![]() |
axbps | #f8c21e | Asphalt Xtreme Class-S Blueprints | {{axbps|Text}} → ![]() |
axstars | #ffa904 | Asphalt Xtreme Stars | {{axstars|Text}} → ![]() |
Adding new colors
Edits in this template
{{Color code}} can easily be expanded for new color names by copying and inserting the following line below the INSERT NEW COLORS BELOW THIS LINE
comment in the template:
<!-- INSERT NEW COLORS BELOW THIS LINE --> | newcolor = #00ff00
newcolor
- Name of the new color in lower case. Any upper case combinations will be detected automatically.
#00ff00
- RGB color hex code of the new color, where
#
replaces the#
sign.
New first-level text color template
If you have added a new text color, you can make it easier for others to use the new color by creating a new first-level template named "A8Newcolor". Copy the following line into a new template:
<includeonly>{{color|a8newcolor|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
Users can now type {{A8Newcolor|Text}}
which behaves exactly like {{A8Rare|Text}}
or other text color templates.
Parameters:
a8newcolor
- Name of the color. Everything else has to be left unchanged.
Documentation
- When you add a new color, remember to add it to the {{Asphalt colors}} overview.
- When you add a new first-level color template, remember to add it to the {{Text color templates see also}} overview.
See also
Text color templates
Asphalt 9:
- {{A9uncommon}}, {{9u}} for uncommon rarity
- {{A9rare}}, {{9r}} for rare rarity
- {{A9epic}}, {{9e}} for epic rarity
Asphalt Streetstorm:
- {{Asgray}} for gray rarity
- {{Asgreen}} for green rarity
- {{Asorange}} for orange rarity
- {{Asblue}} for blue rarity
- {{Asred}} for red rarity
Asphalt 8 (v5.0 onward):
- {{A8common5}}, {{8c}} for common rarity
- {{A8uncommon5}}, {{8u}} for uncommon rarity
- {{A8rare5}}, {{8r}} for rare rarity
- {{A8epic5}}, {{8e}} for epic rarity
- {{A8legendary5}}, {{8l}} for legendary rarity
Asphalt 8 Vehicle Kits:
- {{A8optimal}} for optimal rarity
- {{A8prime}} for prime rarity
- {{A8superb}} for superb rarity
- {{A8festival}} for festival rarity
Asphalt Nitro and Asphalt 8 (until v4.9):
- {{A8common}}, {{Co}} for common rarity
- {{A8rare}}, {{Ra}} for rare rarity
- {{A8legendary}}, {{Le}} for legendary rarity
General:
- {{Color}}, the main template called by all text color templates
- {{Color code}}, the container template for Asphalt-specific color definitions
- {{Background color}}, sets the background color only
- {{Font}}, can set font face, text color and background color
Currency templates
Asphalt 9 China:
{{9cvouchers}} for Vouchers
Asphalt 9:
{{A9credits}} for Credits
{{A9tokens}} for Tokens
{{A9tradecoins}} for Trade Coins
{{A9hazard}} for Hazard
{{A9keys}} for Keys
{{A9lp}} for Legend Points
{{A9seriesscore}} for Series Score
{{A9syndcoins}} for Syndicate Coins
{{A9syndpoints}} for Syndicate Points
{{A9tickets}} for Tickets
{{A9bp}} for Blueprints (neutral)
{{A9bpu}} for uncommon Blueprints
{{A9bpr}} for rare Blueprints
{{A9bpe}} for epic Blueprints
Asphalt Streetstorm:
{{Ascash}} for Cash
{{Asdiamonds}} for Diamonds
{{Asbp}} for Blueprints
{{Assubscribers}} for Subscribers
{{Asdriverrating}} for Driver Rating
{{Aseventpoints}} for Event Points
Asphalt Xtreme:
{{Axcredits}} for Credits
{{Axtokens}} for Tokens
or
{{Axcredits-tokens}} for Credits/Tokens combinations
{{Axtickets}} for Tickets
{{Axbp}} for Blueprints (neutral)
{{Axbpd}} for Class-D Blueprints
{{Axbpc}} for Class-C Blueprints
{{Axbpb}} for Class-B Blueprints
{{Axbpa}} for Class-A Blueprints
{{Axbps}} for Class-S Blueprints
{{Axstars}} for Stars
Asphalt Nitro:
{{Ancredits}} for Credits
{{Ancreditswhite}} for Credits over blue background
{{Antokens}} for Tokens
{{Anfuel}} for Fuel
{{Anstars}} for Stars
{{Anvipcoins}} for VIP Coins
{{Anviplevel}} for VIP Level
Asphalt Overdrive:
Asphalt 8:
{{A8commontires}}, {{A8commonsuspension}} ... for common Part cards
{{A8uncommontires}}, {{A8uncommonsuspension}} ... for uncommon Part cards
{{A8raretires}}, {{A8raresuspension}} ... for rare Part cards
{{A8epictires}}, {{A8epicsuspension}} ... for epic Part cards
{{A8legendarytires}}, {{A8legendarysuspension}} ... for legendary Part cards
{{A8uncommontech}} for uncommon Tech cards
{{A8raretech}} for rare Tech cards
{{A8epictech}} for epic Tech cards
{{A8legendarytech}} for legendary Tech cards
{{A8rareengine}} for rare Engine cards
{{A8epicengine}} for epic Engine cards
{{A8legendaryengine}} for legendary Engine cards
{{A8wildcardoptimal}} for optimal Wild Cards
{{A8wildcardprime}} for prime Wild Cards
{{A8wildcardsuperb}} for superb Wild Cards
{{A8bpcc}} for common car Blueprints
{{A8bpbc}} for common bike Blueprints
{{A8bpcr}} for rare car Blueprints
{{A8bpcl}} for legendary car Blueprints
{{A8bpbl}} for legendary bike Blueprints
{{A8credits}} for Credits
{{A8tokens}} for Tokens
or
{{A8credits-tokens}} for Credits/Tokens combinations
{{A8enduro}} for Enduro Points
{{A8fuel}} for Fuel
{{A8fusion}} for Fusion Points
{{A8fusioncoins}} for Fusion Coins
{{A8licenses}} for Licenses
{{A8stars}} for Stars
{{A8tickets}} for Season Tickets
{{A8gauntlettickets}} for Gauntlet Tickets
{{A8goldengauntlettickets}} for Golden Gauntlet Tickets
{{A8gauntletbadges}} for Gauntlet Badges
{{A8helmets}} for Helmets
{{A8coins}} for 5th Anniversary Coins
{{A86coins}} for 6th Anniversary Coins
{{A8fcoins}} for Snowflurry Festival Coins
{{A8flcoins}} for Fast-Lane Festival Coins
{{A8hcoins}} for Halloween Festival Coins
{{A8nycoins}} for New Year Festival Coins
{{A8scoins}} for Showdown Festival Coins
{{A8fan}} for World Tour Fan Points
{{A8viplevel}} for VIP Level
{{A8vippoints}} for VIP Points
Asphalt 7:
{{A7dollars}} for Dollars
General:
- {{Currency}}, the metatemplate called by all currency templates