<% colors.forEach(function(color) { %>
<% color.combinations.forEach(function(combo) { %>
<%= combo.contrast.toFixed(2) %>
<%= combo.hex %>
<% if (combo.accessibility.aaa || combo.accessibility.aa) { %>
<% if (combo.accessibility.aaa) { %> AAA <% } else if (combo.accessibility.aa) { %> AA <% } %>
<% } %>
<% }) %>
<% }) %>

Colors from mrmrs/colors

<% if (obj.readme) { %> <%= obj.readme %> <% } %>

Example: 4.5 Threshold (Level AA)

<% aaColors.forEach(function(color) { %> <% color.combinations.forEach(function(combo) { %>
<%= combo.contrast.toFixed(2) %>
<%= combo.hex %>
<% if (combo.accessibility.aaa || combo.accessibility.aa) { %>
<% if (combo.accessibility.aaa) { %> AAA <% } else if (combo.accessibility.aa) { %> AA <% } %>
<% } %>
<% }) %> <% }) %>