Process URL Path for matching Color Names
This is the Router page for the /router/ directory.
The URL Path will be split into parts using the directory separator /,
and the first 3 parts will be used to List matching Color Names.
Color |
Name |
Hex |
Red |
Green |
Blue |
|
DarkSalmon |
#E9967A |
233 |
150 |
122 |
|
DarkRed |
#8B0000 |
139 |
0 |
0 |
|
DarkOrange |
#FF8C00 |
255 |
140 |
0 |
|
DarkKhaki |
#BDB76B |
189 |
183 |
107 |
|
DarkGoldenrod |
#B8860B |
184 |
134 |
11 |
|
DarkOliveGreen |
#556B2F |
85 |
107 |
47 |
|
DarkSeaGreen |
#8FBC8F |
143 |
188 |
143 |
|
DarkGreen |
#006400 |
0 |
100 |
0 |
|
DarkTurquoise |
#00CED1 |
0 |
206 |
209 |
|
DarkCyan |
#008B8B |
0 |
139 |
139 |
|
DarkBlue |
#00008B |
0 |
0 |
139 |
|
DarkViolet |
#9400D3 |
148 |
0 |
211 |
|
DarkOrchid |
#9932CC |
153 |
50 |
204 |
|
DarkMagenta |
#8B008B |
139 |
0 |
139 |
|
DarkSlateBlue |
#483D8B |
72 |
61 |
139 |
|
DarkGray |
#A9A9A9 |
169 |
169 |
169 |
|
DarkSlateGray |
#2F4F4F |
47 |
79 |
79 |
Note: Hashtag Markup is shown below <# in bold #>.
The value generated by processing the Hashtag Markup, and applying any Variable Contexts, is injected into this HTML page after the ⇒ symbol.
<#[system.path as html]#> ⇒ Dark
<#[system.path_count]#> ⇒ 1
<#[system.path.1 as html]#> ⇒ Dark
Processed this Hashtag Markup:
<# start list for colors;
include when name ~ "<#[system.path.1]#>"
or name ~ "<#[system.path.2]#>" if set
or name ~ "<#[system.path.3]#>" if set;
#>
<# start header #>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Color</th>
<th>Name</th>
<th>Hex</th>
<th class="text-right">Red</th>
<th class="text-right">Green</th>
<th class="text-right">Blue</th>
</tr>
</thead>
<# end header #>
<# start row #>
<tr>
<td style="background-color:<# hex #>"> </td>
<td><# name #></td>
<td class="monospace"><# hex #></td>
<td class="text-right"><# r #></td>
<td class="text-right"><# g #></td>
<td class="text-right"><# b #></td>
</tr>
<# end row #>
<# start footer #>
</table>
<# end footer #>
<# end list #>