<div class="palettePreview clearfix">
  <!-- <div class="tile"
         ng-repeat="tile in tiles track by $index"
         style="background: #{{tile}}; width : {{100/tiles.length}}%">
    </div>  -->

  <div
    class="tile"
    ng-repeat="tile in tiles track by $index"
    ng-style="getPaletteStyle(tile,tiles.length)"
  ></div>
</div>
