I am converting styles of my app from Less to Emotion
in Less I have styles as follows:
@blue: #476882;
background: rgba(red(@blue), green(@blue), blue(@blue), 0.5);
while converting to Emotion I am doing this:
export const BLUE = '#476882'
background: rgba(red(${BLUE}), green(${BLUE}), blue(${BLUE}), 0.5);
however it is not working.
any suggestions to make this work?