1{% extends "base.html" %}
5 <div class="thumbnail">
6 <img src="{{ thumbnail_data_uri }}">
9 <div class="sample" id="sample_{{ loop.index }}" style="background: {{ c }};"></div>
10 <div class="label" id="label_{{ loop.index }}">{{ c }}</div>
15 Style the links based on one of the tint colours from this image.
17 {% if colours | usable_colours | length > 0 %}
18 {% set tint_colour = colours | usable_colours | random %}
21 color: {{ tint_colour }};
25 background: rgba({{ tint_colour | red }}, {{ tint_colour | green }}, {{ tint_colour | blue }}, 0.3);
30 <p><a href="/">try another image</a></p>