aa::percentage_to_color (private)
aa::percentage_to_color percentage
Defined in packages/acs-automated-testing/tcl/coverage-procs.tcl
Calculates background and foreground color from a percentage. 0 gives red, 100 gives green.
- Parameters:
- percentage - A value between 0 and 100.0
- Returns:
- color code in hex (three double-digit figures)
- Author:
- Gustaf neumann
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.