First, you take your element and divide it by 10. All elemental values on weapons are 10x higher than they actually are. Then, you apply a multiplier based on your sharpness. Green is 1.0x, while blue and white increase your elemental damage slightly (Blue = 1.0625x, White = 1.125x).