summaryrefslogtreecommitdiffstats
path: root/core/js/placeholder.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-09-02 18:20:18 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-09-02 18:20:18 +0200
commit57a1219ca0fb83a508e1df00263eb59d6aae61bf (patch)
tree923f5784e03ad3d5c7de10fadf9ad4955077ebd8 /core/js/placeholder.js
parente7a14ea32df04f32bb08b318b2156a093964e837 (diff)
downloadnextcloud-server-57a1219ca0fb83a508e1df00263eb59d6aae61bf.tar.gz
nextcloud-server-57a1219ca0fb83a508e1df00263eb59d6aae61bf.zip
placeholder.js: adjust saturation and lightness values
Diffstat (limited to 'core/js/placeholder.js')
-rw-r--r--core/js/placeholder.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/placeholder.js b/core/js/placeholder.js
index 16ebbf99a77..167499940b5 100644
--- a/core/js/placeholder.js
+++ b/core/js/placeholder.js
@@ -34,7 +34,7 @@
*
* Which will result in:
*
- * <div id="albumart" style="background-color: rgb(123, 123, 123); ... ">T</div>
+ * <div id="albumart" style="background-color: hsl(123, 90%, 65%r); ... ">T</div>
*
*/
@@ -44,7 +44,7 @@
maxRange = parseInt('ffffffffffffffffffffffffffffffff', 16),
hue = parseInt(hash, 16) / maxRange * 256,
height = this.height();
- this.css('background-color', 'hsl(' + hue + ', 50%, 50%)');
+ this.css('background-color', 'hsl(' + hue + ', 90%, 65%)');
// CSS rules
this.css('color', '#fff');