I would like to change the color of section rule, as it obtained using sectsty
package.
Here is what I have:
\documentclass{article}
\usepackage{xcolor,sectsty,lipsum}
\sectionfont{\sectionrule{0pt}{0pt}{-5pt}{0.8pt}[\color{blue}]}
\begin{document}
\section*{title}
\lipsum
\end{document}
Since I am writing my report using both english and greek language I compile my document using xelatex
engine.
PS: I have tried to implement the answer that I found here. However, the problem is that with titlesec
package greek characters on my section titles are not recognised.