]>
git.r.bdr.sh - rbdr/tomato-sauce/blob - lib/renderers/fake_color.js
b03309c365beac8ffb87b7aabcfaaa6b9d2b59c0
4 * Returns a malformed 24-bit ansi color
6 * @function FakeColorRenderer
7 * @implements IRenderer
9 module
.exports = function (red
, blue
, green
) {
11 return `\x1B[28;2;${Math.round(red)};${Math.round(green)};${Math.round(blue)}m`;