MCPcopy Create free account
hub / github.com/Royalvice/DocDiff / randomcolor

Function randomcolor

utils/marker.py:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def randomcolor():
41 colorArr = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']
42 color = ""
43 for i in range(6):
44 color += colorArr[random.randint(0, 14)]
45 return "#" + color
46
47
48def add_mark(imagePath, mark, args):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected