I need to extract color of string that user has already changed by selecting part of text. My code uses : document.execCommand("ForeColor", false, "green") to colorize the selected text. Thanks,