How do I convert a Hex color to VBA color to use in Powerpoint in T-SQL?
I need to create开发者_JAVA百科 a function in T-SQL that will take a Hex color and convert it into a color number to use in VBA for Powerpoint.
Here is the correct answer: B*65536 + G*256 + R
精彩评论