A method of forming a wear and scratch resistant protective layer on a surface of a support, wherein said surface comprises at least a first surface area (2) and a second surface area (1), which surface areas (1, 2) are distinguishable by virtue of the fact that said surface areas (1, 2) differ from each other in at least one visual property, which method comprises:
- masking at least parts of said surface outside said first surface area (2) with a mask layer which covers at least all of said second surface area of the support, and
- subjecting said support to an electrochemical treatment (14, 20), wherein a protective layer is formed on non-masked parts of said support,
- characterized in that a sol-gel lacquer forming a wear and scratch resistant layer is provided as said mask layer, which forms a protective layer on said second surface area (1) of said surface, and
- said second surface area is free from additional protective layers.