Hi Jake,
you changed the value of an applied color. You did not apply a new color to the paragraph.
If you want to use [Black] on the text you could do it like that:
app.selection[0].paragraphs[0].fillColor = app.documents[0].colors.itemByName("Black");
or perhaps like that:
app.selection[0].paragraphs[0].fillColor = "Black";
If you need a color that is not the standard [Black], but is different, create one before using it:
var myNewBlack = app.documents[0].colors.itemByName("MyNewBlack");
if(!myNewBlack.isValid)
{
app.documents[0].colors.add
(
{
name : "MyNewBlack" ,
colorValue : [0,0,0,100] ,
model : ColorModel.PROCESS ,
space : ColorSpace.CMYK
}
)
};
app.selection[0].paragraphs[0].fillColor = myNewBlack;
Without seeing your document I cannot tell what exactly happened after your try…
Regards,
Uwe