How to create border color in tiled plane texture like jointcolor in Marble procedural texture

The below link helped me to understand well. Thank u @nasimiasl