how to print only rgb value in console.log in nodejs get-image colors library? : <p>It's an array of object.I want to print only rgb value so that i can match it with other rgb value in if else statement. plz help.</p>

<pre><code> Color { _rgb: [ 4, 4, 4, 1, _clipped: false ] }
</code></pre>
