mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-03-30 01:16:46 +00:00
Edit CMYK to RBG grammar/spelling
This commit is contained in:
parent
219cf9fd25
commit
331017470f
@ -8,11 +8,11 @@ def CMYKtoRGB(c, m, y, k) :
|
|||||||
b=round(255.0-((min(1.0, y*(1.0-k)+k))*255.0))
|
b=round(255.0-((min(1.0, y*(1.0-k)+k))*255.0))
|
||||||
return (r,g,b)
|
return (r,g,b)
|
||||||
|
|
||||||
print("Welcome To CMYK to RGB Convertor || INPUT CMYK codes and rest leave it to the convertor\n")
|
print("Welcome to the CMYK to RGB Convertor || Input CMYK codes and rest leave it to the converter\n")
|
||||||
c=int(input("C Value: "))
|
c=int(input("C Value: "))
|
||||||
m=int(input("M Value: "))
|
m=int(input("M Value: "))
|
||||||
y=int(input("Y Value: "))
|
y=int(input("Y Value: "))
|
||||||
k=int(input("K Value: "))
|
k=int(input("K Value: "))
|
||||||
|
|
||||||
print("Processing...")
|
print("Processing...")
|
||||||
print("\nYour RGB values are", CMYKtoRGB(c,m,y,k))
|
print("\nYour RGB values are", CMYKtoRGB(c,m,y,k))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user