add color component to decorations to prevent random colours
function to get joints on a body