次の javascript コマンドが、UIWebView html リッチ テキスト エディターで使用される RGB 16 進数でフォントの色を設定できないのはなぜですか?
RGB 16 進数の色は、標準の青、黄、赤などに変更されます。次に例を示します。
[webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.execCommand('forecolor', false, '#407ec9')"]];
htmlで生成します
<font color="#0000ff"> HELLO WORLD </font>