Back
Use the following formula
import ColorUtility = powerbi.extensibility.utils.color; let yellow = "#FFFF00", yellowRGB = ColorUtility.parseColorString(yellow); ColorUtility.calculateHighlightColor(yellowRGB, 0.8, 0.2); // returns: '#CCCC00'
Want to learn more about Power Bi, Refer: Power Bi Training
31k questions
32.8k answers
501 comments
693 users