Adding heading 4 to color

@alexey.noskov I am trying to add the heading 4 font color to Black but I used the below-mentioned code, but it’s working only for the heading 4 characters, but it’s not working for numbers. Kindly help me asap.
Please find the below mentioned screen short.
image.png (4.0 KB)

Please find the below mentioned input and expected output file.
Expected_output200 (1) (1).docx (21.4 KB)
Input_headding3 (2) (1).docx (22.5 KB)

public static void Heading4(Document doc)
{
    NodeCollection nodes = doc.GetChildNodes(NodeType.Paragraph, true);
    foreach (Paragraph para in nodes)
    {
        if (para.ParagraphFormat.StyleIdentifier == StyleIdentifier.Heading4)
        {
            foreach (Run r in para.Runs)
            {
                r.Font.Color = Color.Black;
            }
        }
    }
}

@Manasahr You should also set ParagraphBreakFont. Please see the following code:

if (para.ParagraphFormat.StyleIdentifier == StyleIdentifier.Heading4)
{
    para.ParagraphBreakFont.Color = Color.Black;
    foreach (Run r in para.Runs)
    {
        r.Font.Color = Color.Black;
    }
}