diff options
Diffstat (limited to '')
-rw-r--r-- | lib/letter-avatars.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/letter-avatars.js b/lib/letter-avatars.js index 437e3e76..767a2efd 100644 --- a/lib/letter-avatars.js +++ b/lib/letter-avatars.js @@ -5,7 +5,10 @@ var randomcolor = require('randomcolor'); // core module.exports = function(name) { - var color = randomcolor({seed: name}); + var color = randomcolor({ + seed: name, + luminosity: 'dark', + }); var letter = name.substring(0, 1).toUpperCase(); var svg = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'; |