caubert

hex2RBG

Jul 8th, 2021 (edited)
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {{ $rgb := toInt64Base16 "89aa00" }}
  2. RGB > {{ shiftRight $rgb 16 }}  {{ bitwiseAnd (shiftRight $rgb 8) 0xFF }} {{ bitwiseAnd $rgb 0xFF }}
  3.  
RAW Paste Data