'use strict';
-// Sends malformed ANSI 24-bit color strings
-const FakeColor = function (red, blue, green) {
- return `\x1B[28;2;${Math.round(red)};${Math.round(green)};${Math.round(blue)}m`;
-};
+/**
+ * Returns a malformed 24-bit ansi color
+ *
+ * @function FakeColorRenderer
+ * @implements IRenderer
+ */
+module.exports = function (red, blue, green) {
-module.exports = FakeColor;
+ return `\x1B[28;2;${Math.round(red)};${Math.round(green)};${Math.round(blue)}m`;
+};