aboutsummaryrefslogtreecommitdiff
path: root/app/class/Colors.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-01-29 21:44:32 +0100
committervincent-peugnet <v.peugnet@free.fr>2020-01-29 21:50:20 +0100
commit2211f5cbae94c09c03c95b4c4d010ddaf72738df (patch)
tree8d8b19dc9bdd2a7b146fceff7b819f5199ab9bfa /app/class/Colors.php
parentc3014fb7be5c54ac9d1325f33f6fe0a2624161a8 (diff)
downloadwcms-2211f5cbae94c09c03c95b4c4d010ddaf72738df.tar.gz
wcms-2211f5cbae94c09c03c95b4c4d010ddaf72738df.zip
fix color set for tags colors
Diffstat (limited to 'app/class/Colors.php')
-rw-r--r--app/class/Colors.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Colors.php b/app/class/Colors.php
index bf11229..0ad5cca 100644
--- a/app/class/Colors.php
+++ b/app/class/Colors.php
@@ -42,7 +42,7 @@ class Colors extends Item
if (key_exists($tag, $this->tagcolor)) {
$tagcolor[$tag] = $this->tagcolor[$tag];
} else {
- $tagcolor[$tag] = '#' . dechex(rand(100, 255)) . dechex(rand(100, 255)) . dechex(rand(100, 255));
+ $tagcolor[$tag] = '#' . dechex(rand(50, 255)) . dechex(rand(50, 255)) . dechex(rand(50, 255));
}
}
$this->tagcolor = $tagcolor;