title: How to multiply hex color codes?
body: <p>I want to change color from 0x008000 (green) to 0x0000FF (blue).
  If I multiply 0x008000 * 256 = 0x800000 (Google search acts as a calculator).
  I need to find the correct multiplier so the result would be 0x0000FF.</p>
  
  <p>To answer people below - I am doing this in order to make a color transition on a rectangle in pixi.js.</p>
  
  <p>From what I've gathered, RGB color code is divided into 3 parts - red, green and blue in a scale of 0-FF expressed in hex, or 0-255 in decimal. But how to multiply correctly to get desired result?</p>