Browse Source

Changed Colors to Tango colors

Manuel Gall 3 years ago
parent
commit
a695a51e12
2 changed files with 4 additions and 2 deletions
  1. 1 1
      ui/js/imageSlicer.js
  2. 3 1
      ui/json/Rectangle.json

+ 1 - 1
ui/js/imageSlicer.js

@@ -1,6 +1,6 @@
 
 rectID = 0;
-colors = ["rgba(0,255,0,0.7)","rgba(255,0,0,0.7)","rgba(0,0,255,0.7)","rgba(0,255,255,0.7)","rgba(255,255,0,0.7)","rgba(255,0,255,0.7)","rgba(0,122,0,0.7)","rgba(122,0,0,0.7)","rgba(0,0,122,0.7)","rgba(0,122,122,0.7)","rgba(122,122,0,0.7)","rgba(122,0,122,0.7)"]
+colors = ["#edd400","#73d216","#cc0000","#f57900","#3465a4","#c17d11","#75507b","#fce94f","#8ae234","#ef2929","#fcaf3e","#729fcf","#eeeeec","#e9b96e","#ad7fa8","#888a85","#c4a000","#4e9a06","#a40000","#ce5c00","#204a87","#babdb6","#8f5902","#5c3566","#2e3436"].map(i => i + "70"); //Tango Colors with opacity
 abk = [];
 
 function addRectangle(){

File diff suppressed because it is too large
+ 3 - 1
ui/json/Rectangle.json